[-] BO : Modules list automatic refresh when BO connect to Addons - Bug fixed #PSTEST-367

This commit is contained in:
fSerny
2012-01-10 16:55:14 +00:00
parent 4e5d09e569
commit ca2935a8dd
2 changed files with 4 additions and 2 deletions
@@ -170,9 +170,11 @@
controller : "AdminModules",
action : "refreshModuleList"
},
success : function(res,textStatus,jqXHR)
success : function(data)
{
// res.status = cache or refresh
if (data == '{"status":"refresh"}')
window.location.href = window.location.href;
},
error: function(res,textStatus,jqXHR)
{