diff --git a/module/index/js/index.js b/module/index/js/index.js index dfde92a2da..251de06f99 100644 --- a/module/index/js/index.js +++ b/module/index/js/index.js @@ -852,9 +852,3 @@ function getLatestVersion() $('#globalSearchInput').click(); $('#upgradeContent').toggle(); } - -/** Show features dialog */ -function showFeaturesDialog() -{ - new $.zui.ModalTrigger({url: $.createLink('misc', 'features'), type: 'ajax', width: 900, showHeader: false, backdrop: 'static'}).show(); -} diff --git a/module/my/js/index.js b/module/my/js/index.js index 22b1e76c8d..36b676a8eb 100644 --- a/module/my/js/index.js +++ b/module/my/js/index.js @@ -1,6 +1,10 @@ $(function() { - if(showFeatures) showFeaturesDialog(); + if(showFeatures) + { + /** Show features dialog */ + new $.zui.ModalTrigger({url: $.createLink('misc', 'features'), type: 'iframe', width: 900, showHeader: false, backdrop: 'static'}).show(); + } /* Set the heights of every block to keep them same height. */ projectBoxHeight = $('#projectbox').height(); @@ -37,14 +41,3 @@ $(function() $(this).find('.fixedHead').css('top',$(this).scrollTop()); }); }); - -/** - * Show features dialog. - * - * @access public - * @return void - */ -function showFeaturesDialog() -{ - $.zui.modalTrigger.show({url: $.createLink('misc', 'features'), type: 'ajax', width: 900, showHeader: false}) -}