[Mapbender-commits] r5324 - trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Jan 13 10:34:10 EST 2010
Author: christoph
Date: 2010-01-13 10:34:10 -0500 (Wed, 13 Jan 2010)
New Revision: 5324
Modified:
trunk/mapbender/http/plugins/mb_i18n.js
Log:
changed order of requests, setting of server locale must be first
Modified: trunk/mapbender/http/plugins/mb_i18n.js
===================================================================
--- trunk/mapbender/http/plugins/mb_i18n.js 2010-01-13 15:33:01 UTC (rev 5323)
+++ trunk/mapbender/http/plugins/mb_i18n.js 2010-01-13 15:34:10 UTC (rev 5324)
@@ -43,8 +43,6 @@
t.callback = callback;
};
this.localize = function (locale) {
- Mapbender.events.localize.trigger();
-
var req = new Mapbender.Ajax.Request({
url: "../plugins/mb_i18n_server.php",
method: "translate",
@@ -78,6 +76,7 @@
}
}
translationObj = {};
+ Mapbender.events.localize.trigger();
}
});
req.send();
More information about the Mapbender_commits
mailing list