Merge pull request #5376 from expsa/fix/xml-syntax-buttons-logic-20251112-070500

fix: XML syntax error in assets.xml - escape && operator
This commit is contained in:
Mohamed Eltayar 2025-11-12 05:40:51 +03:00 committed by GitHub
commit e7ee5d4a8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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');