[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:
Julia Radzhabova 2017-03-28 10:47:36 +03:00
parent e71d968cf5
commit 7deaa2888b

View file

@ -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;
}
},