Fix for gdata extension

This commit is contained in:
Blakko 2013-07-04 11:49:59 +02:00
parent 552b0bf94b
commit 0adadb55dd

View File

@ -31,6 +31,21 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
var dictionary = "";
$.ajax({
url : "/command/gdata/load-language?",
type : "POST",
async : false,
data : {
lng : lang
},
success : function(data) {
dictionary = data;
}
});
$.i18n.setDictionary(dictionary);
// End internationalization
(function() {
var handleUpload = function(options, exportAllRows, onDone, prompt) {
var doUpload = function() {