* Finish task #45826.
This commit is contained in:
@@ -26,8 +26,9 @@ function setWIPLimit()
|
||||
|
||||
$('#limit').val(count);
|
||||
}
|
||||
|
||||
/**
|
||||
* When Wipcount value change.
|
||||
* When WIPCount value change.
|
||||
*
|
||||
* @param int $value
|
||||
* @access public
|
||||
@@ -35,8 +36,6 @@ function setWIPLimit()
|
||||
*/
|
||||
function wipValueChange(value)
|
||||
{
|
||||
if(value == '')
|
||||
$('#submit').addClass('disabled');
|
||||
else
|
||||
$('#submit').removeClass('disabled');
|
||||
if(value == '') $('#submit').addClass('disabled');
|
||||
if(value) $('#submit').removeClass('disabled');
|
||||
}
|
||||
|
||||
@@ -624,7 +624,7 @@ function createColumnMenu(options)
|
||||
if(!privs.length) return [];
|
||||
|
||||
var items = [];
|
||||
if(privs.includes('setWIP')) items.push({label: kanbanLang.WIP, icon: '', url: createLink('kanban', 'setWIP', 'columnID=' + column.id), className: 'iframe', attrs: {'data-toggle': 'modal'}});
|
||||
if(privs.includes('setWIP')) items.push({label: kanbanLang.WIP, icon: '', url: createLink('kanban', 'setWIP', 'columnID=' + column.id), className: 'iframe', attrs: {'data-toggle': 'modal', 'data-width': '500px'}});
|
||||
if(privs.includes('editColumn')) items.push({label: kanbanLang.editColumn, icon: '', url: createLink('kanban', 'setColumn', 'columnID=' + column.id, '', 'true'), className: 'iframe', attrs: {'data-toggle': 'modal'}});
|
||||
if(privs.includes('createColumn'))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user