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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12324 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fSerny
2012-01-10 16:55:14 +00:00
parent f974830041
commit dd3f0031b6
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)
{