* move the code of the project list link to my.js.
This commit is contained in:
@@ -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});
|
||||
})
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user