* [taskk#127433] add can not deleted quoted question of thinkmulticolumn.
This commit is contained in:
@@ -58,4 +58,12 @@ window.changeRequiredCols = function()
|
||||
isQuoted = true;
|
||||
}
|
||||
});
|
||||
/* 如果删除的比填列是被其他问题引用的列则不能删除,并弹出弹窗提示;如果不是被其他问题引用的列则成功删除,并且储存删除后的值。*/
|
||||
/* If the deleted column is a column referenced by other issues, it cannot be deleted and a pop-up prompt will appear; If the column is not referenced by other issues, it will be successfully deleted and the deleted value will be saved. */
|
||||
if(isQuoted)
|
||||
{
|
||||
$('.required-options .picker-box').zui('picker').$.setValue(requiredCols);
|
||||
zui.Modal.alert({message: requiredColTip.replace(/%s/g, quotedIndex), icon: 'icon-exclamation-sign', iconClass: 'warning-pale rounded-full icon-2x', size: 'sm'});
|
||||
}
|
||||
if(!isQuoted) localStorage.setItem('requiredCols', changedCols);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user