Localize function now uses the correct relative link.

This commit is contained in:
Dario Milicic
2014-10-22 18:22:37 +02:00
parent f6275ffc09
commit 46bdc62add
+1 -1
View File
@@ -4,7 +4,7 @@
//
// NOTE: This function works SYNCRHONOUSLY
function localize(str) {
var URL = '/' + parent.logbook + "/?cmd=loc&value=" + str;
var URL = "?cmd=loc&value=" + str;
return $.ajax({
type: "GET",