* replaced 'colorbox' with 'modal' in zui.
This commit is contained in:
@@ -627,7 +627,7 @@ class testtask extends control
|
||||
}
|
||||
else
|
||||
{
|
||||
die(js::closeColorbox('parent'));
|
||||
die(js::closeModal('parent'));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ function browseBySearch(active)
|
||||
|
||||
$(document).ready(function()
|
||||
{
|
||||
setModal4List('runCase', 'caseList', function(){$(".iframe").colorbox({width:1024, height:550, iframe:true, transition:'none'});}, 1024);
|
||||
setModal4List('runCase', 'caseList', function(){$(".iframe").modalTrigger({width:1024, type:'iframe'});}, 1024);
|
||||
$('#' + browseType + 'Tab').addClass('active');
|
||||
$('#module' + moduleID).addClass('active');
|
||||
if(browseType == 'bysearch') ajaxGetSearchForm();
|
||||
@@ -28,7 +28,6 @@ $(document).ready(function()
|
||||
|
||||
$(document).ready(function()
|
||||
{
|
||||
$("a.iframe").colorbox({width:1024, height:550, iframe:true, transition:'none'});
|
||||
$('#' + browseType + 'Tab').addClass('active');
|
||||
$('#module' + moduleID).addClass('active');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user