Merge branch 'pailei_zhangzilong_49888' into 'pailei2'
Pailei zhangzilong 49888 See merge request easycorp/zentaopms!2155
This commit is contained in:
@@ -270,6 +270,26 @@ function loadModuleRelated()
|
||||
setStories(moduleID, executionID);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set lane.
|
||||
*
|
||||
* @param int $regionID
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function setLane(regionID)
|
||||
{
|
||||
laneLink = createLink('kanban', 'ajaxGetLanes', 'regionID=' + regionID + '&type=task&field=lane');
|
||||
$.get(laneLink, function(lane)
|
||||
{
|
||||
if(!lane) lane = "<select id='lane' name='lane' class='form-control'></select>";
|
||||
$('#lane').replaceWith(lane);
|
||||
$("#lane" + "_chosen").remove();
|
||||
$("#lane").next('.picker').remove();
|
||||
$("#lane").chosen();
|
||||
});
|
||||
}
|
||||
|
||||
/* Get select of stories.*/
|
||||
function setStories(moduleID, executionID)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user