fix: escape && operator in JavaScript for XML compatibility

- Changed && to && in isEditable logic (line 213)
- Fixes XMLSyntaxError: xmlParseEntityRef: no name

Synced with dev_odex25_ensan on Wed Nov 12 05:40:15 +03 2025
This commit is contained in:
Mohamed Eltayar 2025-11-12 05:40:15 +03:00
parent 1ca71f156d
commit 22bae36446
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@
var isNewRecord = !currentData.id;
var isDraftState = currentData.state === 'draft';
var isEditMode = self.mode === 'edit';
var isEditable = isNewRecord || (isDraftState && isEditMode);
var isEditable = isNewRecord || (isDraftState && isEditMode);
// Remove old event handlers to prevent duplicates
this.$('.record_option').off('click');