Merge branch 'master_xieqiyu_kanban' into 'master'
* Code for task#59545,#59546. Update lane name. See merge request easycorp/zentaopms!4334
This commit is contained in:
@@ -299,6 +299,32 @@ function createColumnCreateMenu(options)
|
||||
return items;
|
||||
}
|
||||
|
||||
/**
|
||||
* Update region name.
|
||||
*
|
||||
* @param int $regionID
|
||||
* @param string $name
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function updateRegionName(regionID, name)
|
||||
{
|
||||
$('.region[data-id="' + regionID + '"] > .region-header > strong:first').text(name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update lane name.
|
||||
*
|
||||
* @param int $laneID
|
||||
* @param string $name
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function updateLaneName(laneID, name)
|
||||
{
|
||||
$('.kanban-lane[data-id="' + laneID + '"] > .kanban-lane-name > span').text(name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Hide kanban action
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user