Minor changes.

This commit is contained in:
Lars Jung 2012-10-20 21:03:40 +02:00
parent f97a4e490b
commit 1dd6e5c7b0
2 changed files with 10 additions and 15 deletions

View file

@ -39,10 +39,16 @@
} else {
$.getJSON('.', {action: 'get', options: true, types: true, langs: true, server: true, entries: true}, function (config) {
$.ajax({
url: '.',
data: {action: 'get', options: true, types: true, langs: true, server: true},
type: 'POST',
dataType: 'json',
success: function (config) {
modulejs.define('config', config);
$(function () { modulejs.require('main'); });
modulejs.define('config', config);
$(function () { modulejs.require('main'); });
}
});
}