* move the code of the project list link to my.js.

This commit is contained in:
wangchunsheng
2011-10-26 07:11:14 +00:00
parent 3cd76dd895
commit b27cdf6c1e
2 changed files with 12 additions and 5 deletions
-5
View File
@@ -7,8 +7,3 @@ function switchGroup(projectID, groupBy)
link = createLink('project', 'groupTask', 'project=' + projectID + '&groupBy=' + groupBy);
location.href=link;
}
$(document).ready(function()
{
if($('#submenuall').size()) $("#submenuall").colorbox({width:1000, height:600, iframe:true, transition:'elastic', speed:350, scrolling:true});
})
+12
View File
@@ -499,6 +499,17 @@ function setSubversionLink()
if($('.svnlink').size()) $('.svnlink').colorbox({width:960, height:600, iframe:true, transition:'elastic', speed:350, scrolling:true});
}
/**
* Set the link of the project list menu.
*
* @access public
* @return void
*/
function setProjectListLink()
{
if($('#submenuall').size()) $("#submenuall").colorbox({width:1000, height:600, iframe:true, transition:'elastic', speed:350, scrolling:true});
}
/**
* Auto checked the checkbox of a row.
*
@@ -719,6 +730,7 @@ $(document).ready(function()
saveProject();
setForm();
setSubversionLink();
setProjectListLink();
autoCheck();
togglesearch();
saveWindowSize();