clientside config requests relative in order to support arbitrary mounts
This commit is contained in:
parent
7bbbdbb0d4
commit
d88e474038
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ var persistence = (function() {
|
|||
// Saves configuration to persistent store. Calls success() or error() when
|
||||
// complete.
|
||||
var save = function(config, success, error) {
|
||||
jQuery.ajax('/config', {
|
||||
jQuery.ajax('config', {
|
||||
type: 'POST',
|
||||
success: success,
|
||||
error: error,
|
||||
|
@ -15,7 +15,7 @@ var persistence = (function() {
|
|||
|
||||
// Returns configuration from persistent store.
|
||||
var load = function(success, error) {
|
||||
jQuery.ajax('/config', {
|
||||
jQuery.ajax('config', {
|
||||
type: 'GET',
|
||||
success: success,
|
||||
error: error,
|
||||
|
|
Loading…
Reference in a new issue