Hi,
In my application, by javascript, I need to know if my opened ItemType is in "Edit" mode or not to enable or disable some html widgets.
In ARAS 11, I used document.thisItem.isLocked() to know that.
In ARAS 12, with the same code, the behavior is the following one:
- When the ItemType is not claimed: FALSE ==> This is the expected behavior
- When the ItemType is in "Edit" mode: TRUE ==> This is the expected behavior
- When the ItemType is not in "Edit" mode but claimed: TRUE ==> This is NOT the expected behavior
So, isLocked is not good method to know if the ItemType is in "Edit" mode or not.
My question:
What is the javascript method to use on an ItemType to know is the "edit" mode is enabled ?