Skip to content

Commit

Permalink
Ignore cache when loading config in backend
Browse files Browse the repository at this point in the history
Fix #310
  • Loading branch information
khanhlh committed Jun 2, 2014
1 parent 0294094 commit 1bc6d51
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
12 changes: 8 additions & 4 deletions source/plg_system_t3/admin/megamenu/js/megamenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,8 @@ var T3AdminMegamenu = window.T3AdminMegamenu || {};
template: T3AdminMegamenu.template,

mmkey: $('#megamenu-key').val(),
config: JSON.stringify(config)
config: JSON.stringify(config),
rand: Math.random()
}
}).done(function(rsp){

Expand Down Expand Up @@ -715,7 +716,8 @@ var T3AdminMegamenu = window.T3AdminMegamenu || {};

t3menu: $('#menu-type').val(),
t3acl: $('#access-level').val(),
t3lang: $('#menu-type :selected').attr('data-language') || '*'
t3lang: $('#menu-type :selected').attr('data-language') || '*',
rand: Math.random()
}
}).done(function ( data ) {
if(data){
Expand Down Expand Up @@ -890,7 +892,8 @@ var T3AdminMegamenu = window.T3AdminMegamenu || {};

t3menu: $('#menu-type').val(),
t3acl: $('#access-level').val(),
t3lang: $('#menu-type :selected').attr('data-language') || '*'
t3lang: $('#menu-type :selected').attr('data-language') || '*',
rand: Math.random()
},

beforeSend: function(){
Expand Down Expand Up @@ -995,7 +998,8 @@ var T3AdminMegamenu = window.T3AdminMegamenu || {};
styleid: T3AdminMegamenu.styleid,
template: T3AdminMegamenu.template,

mmkey: $('#megamenu-key').val()
mmkey: $('#megamenu-key').val(),
rand: Math.random()
}
}).done(function(rsp){

Expand Down
3 changes: 2 additions & 1 deletion source/plg_system_t3/admin/thememagic/js/thememagic.js
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,8 @@ var T3Theme = window.T3Theme || {};
$.param($.extend(params, {
t3action: 'theme',
t3template: T3Theme.template,
styleid: T3Theme.templateid
styleid: T3Theme.templateid,
rand: Math.random()
})) , data, function(result){

T3Theme.run = false;
Expand Down

0 comments on commit 1bc6d51

Please sign in to comment.