[-] 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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user