diff --git a/extensions/freebase/module/scripts/extension.js b/extensions/freebase/module/scripts/extension.js index f15d04cb6..0ef2ce855 100644 --- a/extensions/freebase/module/scripts/extension.js +++ b/extensions/freebase/module/scripts/extension.js @@ -39,7 +39,7 @@ var lang = navigator.language.split("-")[0] || navigator.userLanguage.split("-")[0]; var dictionary = ""; $.ajax({ - url : "/command/core/load-language?", + url : "command/core/load-language?", type : "POST", async : false, data : { diff --git a/extensions/gdata/module/scripts/index/importing-controller.js b/extensions/gdata/module/scripts/index/importing-controller.js index dda358354..886764385 100644 --- a/extensions/gdata/module/scripts/index/importing-controller.js +++ b/extensions/gdata/module/scripts/index/importing-controller.js @@ -36,7 +36,7 @@ var lang = navigator.language.split("-")[0] || navigator.userLanguage.split("-")[0]; var dictionary = ""; $.ajax({ - url : "/command/core/load-language?", + url : "command/core/load-language?", type : "POST", async : false, data : { diff --git a/extensions/gdata/module/scripts/project/exporters.js b/extensions/gdata/module/scripts/project/exporters.js index d6e5d6209..b4368e9b6 100644 --- a/extensions/gdata/module/scripts/project/exporters.js +++ b/extensions/gdata/module/scripts/project/exporters.js @@ -33,7 +33,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. var dictionary = ""; $.ajax({ - url : "/command/core/load-language?", + url : "command/core/load-language?", type : "POST", async : false, data : { diff --git a/main/webapp/modules/core/scripts/index.js b/main/webapp/modules/core/scripts/index.js index b557cdea4..64531c2ba 100644 --- a/main/webapp/modules/core/scripts/index.js +++ b/main/webapp/modules/core/scripts/index.js @@ -40,7 +40,7 @@ var Refine = { var lang = (navigator.language|| navigator.userLanguage).split("-")[0]; var dictionary = ""; $.ajax({ - url : "/command/core/load-language?", + url : "command/core/load-language?", type : "POST", async : false, data : { diff --git a/main/webapp/modules/core/scripts/index/lang-settings-ui.js b/main/webapp/modules/core/scripts/index/lang-settings-ui.js index 9c1d75c16..72e3dc8fc 100644 --- a/main/webapp/modules/core/scripts/index/lang-settings-ui.js +++ b/main/webapp/modules/core/scripts/index/lang-settings-ui.js @@ -11,7 +11,7 @@ Refine.SetLanguageUI = function(elmt) { $.ajax({ - url : "/command/core/get-languages?", + url : "command/core/get-languages?", type : "GET", async : false, data : { @@ -29,7 +29,7 @@ Refine.SetLanguageUI = function(elmt) { this._elmts.set_lan_btn.bind('click', function(e) { $.ajax({ - url : "/command/core/set-preference?", + url : "command/core/set-preference?", type : "POST", async : false, data : { diff --git a/main/webapp/modules/core/scripts/preferences.js b/main/webapp/modules/core/scripts/preferences.js index 20c963cbd..42009d642 100644 --- a/main/webapp/modules/core/scripts/preferences.js +++ b/main/webapp/modules/core/scripts/preferences.js @@ -36,7 +36,7 @@ var preferenceUIs = []; var lang = (navigator.language|| navigator.userLanguage).split("-")[0]; var dictionary = ""; $.ajax({ -url : "/command/core/load-language?", +url : "command/core/load-language?", type : "POST", async : false, data : { diff --git a/main/webapp/modules/core/scripts/project.js b/main/webapp/modules/core/scripts/project.js index 3f81b8778..d83c61fb2 100644 --- a/main/webapp/modules/core/scripts/project.js +++ b/main/webapp/modules/core/scripts/project.js @@ -37,7 +37,7 @@ var ui = {}; var lang = (navigator.language|| navigator.userLanguage).split("-")[0]; var dictionary = ""; $.ajax({ - url : "/command/core/load-language?", + url : "command/core/load-language?", type : "POST", async : false, data : {