* fix a bug for can not copy module in bug and case.
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
function syncModule(rootID, type)
|
||||
{
|
||||
if(type == 'story') moduleID = $('#productModule').val();
|
||||
if(type == 'task') moduleID = $('#projectModule').val();
|
||||
moduleID = type == 'task' ? $('#projectModule').val() : $('#productModule').val();
|
||||
type = type == 'task' ? 'task' : 'story';
|
||||
|
||||
link = createLink('tree', 'ajaxGetSonModules', 'moduleID=' + moduleID + '&rootID=' + rootID + '&type=' + type);
|
||||
$.getJSON(link, function(modules)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user