diff --git a/apps/common/main/lib/controller/Desktop.js b/apps/common/main/lib/controller/Desktop.js index 41fa95d7c..ea67d6ad9 100644 --- a/apps/common/main/lib/controller/Desktop.js +++ b/apps/common/main/lib/controller/Desktop.js @@ -118,6 +118,13 @@ define([ if ( !!obj.action ) { titlebuttons[obj.action].btn.click(); } + } else + if (/element:show/.test(cmd)) { + var _mr = /title:(?:(true|show)|(false|hide))/.exec(param); + if ( _mr ) { + if (!!_mr[1]) $('#app-title').show(); + else if (!!_mr[2]) $('#app-title').hide(); + } } }; @@ -246,4 +253,4 @@ define([ }; Common.Controllers.Desktop = new Desktop(); -}); \ No newline at end of file +});