[DE] Update table settings in strict mode: change table style by one user and getting changes by another user (combodataview didn't update.).
This commit is contained in:
parent
e71d968cf5
commit
7deaa2888b
|
@ -430,7 +430,7 @@ define([
|
|||
if (this._initSettings)
|
||||
this.createDelayedElements();
|
||||
|
||||
this.disableControls(this._locked);
|
||||
var updateState = this.disableControls(this._locked); // need to update combodataview after disabled state
|
||||
|
||||
if (props )
|
||||
{
|
||||
|
@ -451,7 +451,7 @@ define([
|
|||
|
||||
//for table-template
|
||||
value = props.get_TableStyle();
|
||||
if (this._state.TemplateId!==value || this._isTemplatesChanged) {
|
||||
if (this._state.TemplateId!==value || this._isTemplatesChanged || updateState) {
|
||||
this.cmbTableTemplate.suspendEvents();
|
||||
var rec = this.cmbTableTemplate.menuPicker.store.findWhere({
|
||||
templateId: value
|
||||
|
@ -773,6 +773,7 @@ define([
|
|||
item.setDisabled(disable);
|
||||
});
|
||||
this.linkAdvanced.toggleClass('disabled', disable);
|
||||
return !disable;
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue