Skip to content

Commit

Permalink
Merge pull request #4465 from MCGallaspy/central-develop
Browse files Browse the repository at this point in the history
Add get_cookie to base module & global scope
  • Loading branch information
rtibbles committed Sep 22, 2015
2 parents 361834b + cd4cb41 commit 4951c10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ require("browsernizr/test/canvas");
require("browsernizr/test/touchevents");
var Modernizr = require("browsernizr");

// Expose this as a global object for use in central server inline JS.
global.getCookie = require("utils/get_cookie");

global.$ = $;
global._ = _;
global.sessionModel = new SessionModel();
Expand Down
2 changes: 1 addition & 1 deletion python-packages/fle_utils/django_utils/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def call_outside_command_with_output(command, *args, **kwargs):

# build the command
if kalite_dir:
kalite_bin = os.path.join(kalite_dir, "bin/kalite")
kalite_bin = os.path.join(kalite_dir, "bin", "kalite")
else:
kalite_bin = 'kalite'

Expand Down

0 comments on commit 4951c10

Please sign in to comment.