* change features modal type to "iframe".
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
+5
-12
@@ -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})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user