Added ability to unlock Corrective Actions when locked for editing.
This commit is contained in:
@ -371,17 +371,12 @@
|
||||
var delegate = "";
|
||||
var isChecked = $("#AssignDelegate").is(":checked");
|
||||
|
||||
console.log(isChecked);
|
||||
|
||||
if (isChecked === true)
|
||||
delegate = $("#DelegateTo").data("kendoDropDownList").value();
|
||||
|
||||
else
|
||||
delegate = "0";
|
||||
|
||||
console.log(delegate);
|
||||
|
||||
|
||||
if (userid == delegate)
|
||||
{
|
||||
alert('The OOO person cannot be same as the delegate to person');
|
||||
|
Reference in New Issue
Block a user