mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°5298 - Upgrade CKEditor to version 5 (#647)
This commit is contained in:
@@ -313,6 +313,15 @@ function BlockField(field_id, bBlocked) {
|
||||
$('#'+field_id).unblock();
|
||||
}
|
||||
}
|
||||
|
||||
function BlockFieldElement(element, bBlocked) {
|
||||
if (bBlocked) {
|
||||
element.block({message: '', enableValidation : true, baseZ: 9999, overlayCSS: { backgroundColor: '#ccd6e066'}});
|
||||
} else {
|
||||
element.unblock();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates (enables/disables) a "duration" field
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user