* replaced 'colorbox' with 'modal' in zui.

This commit is contained in:
Catouse
2014-04-08 13:55:05 +08:00
parent 0a4b2c07f1
commit d425b767a6
36 changed files with 146 additions and 82 deletions
+1 -1
View File
@@ -627,7 +627,7 @@ class testtask extends control
}
else
{
die(js::closeColorbox('parent'));
die(js::closeModal('parent'));
}
}
+1 -2
View File
@@ -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');
});