mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 20:13:28 +00:00
Fix #1600 Can not save a deleted field in admin field app
This commit is contained in:
@@ -84,8 +84,9 @@ define([
|
||||
|
||||
return this;
|
||||
},
|
||||
updateStateButton: function () {
|
||||
this._disableSaveButton(!this._isModelDesync());
|
||||
updateStateButton: function (disable) {
|
||||
var toDisable = disable || !this._isModelDesync();
|
||||
this._disableSaveButton(toDisable);
|
||||
},
|
||||
// check whether model has changed or not
|
||||
_isModelDesync: function () {
|
||||
|
Reference in New Issue
Block a user