Run applications categories with ajax=true

- Fix categories colors not showing up
- Fix categories list refresh does not work
This commit is contained in:
Hadi Nategh
2016-06-13 12:30:21 +02:00
parent 2db301ac7a
commit 5e4412aea5
3 changed files with 9 additions and 2 deletions

View File

@ -927,6 +927,11 @@ var fw_base = (function(){ "use strict"; return Class.extend(
}
// Call appropriate default / fallback refresh
var win = window;
// Preferences app is running under admin app, we need to trigger admin refersh
// in order to refresh categories list
_app = _app === 'preferences'?'admin':_app;
var app = this.getApplicationByName(_app);
if (app)
{