14.04.2023, 08:05
This will make all elements with operator-read-only class read-only for operator username.
Code:
$(function() {
if (window.Globals && Globals.user == 'operator') {
$('.operator-read-only').addClass('item-read-only');
}
});