Refactoring
This commit is contained in:
parent
96d8acdf5f
commit
3a33e84f45
|
@ -148,11 +148,11 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
onAngleChange: function(field, newValue, oldValue, eOpts) {
|
onAngleChange: function(field, newValue, oldValue, eOpts) {
|
||||||
this.api && this.api.asc_setCellAngle(field.getNumberValue());
|
this.api && (newValue!==oldValue) && this.api.asc_setCellAngle(field.getNumberValue());
|
||||||
},
|
},
|
||||||
|
|
||||||
onIndentChange: function(field, newValue, oldValue, eOpts) {
|
onIndentChange: function(field, newValue, oldValue, eOpts) {
|
||||||
this.api && this.api.asc_setCellIndent(field.getNumberValue());
|
this.api && (newValue!==oldValue) && this.api.asc_setCellIndent(field.getNumberValue());
|
||||||
},
|
},
|
||||||
|
|
||||||
render: function () {
|
render: function () {
|
||||||
|
|
Loading…
Reference in a new issue