[DE] Content controls: use get/put_Alias for control title.
This commit is contained in:
parent
252b028b46
commit
d184c3f647
|
@ -151,7 +151,7 @@ define([
|
||||||
|
|
||||||
_setDefaults: function (props) {
|
_setDefaults: function (props) {
|
||||||
if (props) {
|
if (props) {
|
||||||
var val = props.get_Id();
|
var val = props.get_Alias();
|
||||||
this.txtName.setValue(val ? val : '');
|
this.txtName.setValue(val ? val : '');
|
||||||
|
|
||||||
val = props.get_Tag();
|
val = props.get_Tag();
|
||||||
|
@ -168,7 +168,7 @@ define([
|
||||||
var props = new AscCommon.CContentControlPr();
|
var props = new AscCommon.CContentControlPr();
|
||||||
|
|
||||||
|
|
||||||
props.put_Id(this.txtName.getValue());
|
props.put_Alias(this.txtName.getValue());
|
||||||
props.put_Tag(this.txtTag.getValue());
|
props.put_Tag(this.txtTag.getValue());
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue