Commit 1e1ea2c4 authored by Julia Radzhabova's avatar Julia Radzhabova

[SSE] Bug with plugin editing.

parent 878f1880
...@@ -80,6 +80,7 @@ define([ ...@@ -80,6 +80,7 @@ define([
this._locked = false; this._locked = false;
this._noApply = false; this._noApply = false;
this._originalProps = null;
this.render(); this.render();
...@@ -199,6 +200,8 @@ define([ ...@@ -199,6 +200,8 @@ define([
this.disableControls(this._locked); this.disableControls(this._locked);
if (props ){ if (props ){
this._originalProps = new Asc.asc_CImgProperty(props);
var value = props.asc_getWidth(); var value = props.asc_getWidth();
if ( Math.abs(this._state.Width-value)>0.001 || if ( Math.abs(this._state.Width-value)>0.001 ||
(this._state.Width===null || value===null)&&(this._state.Width!==value)) { (this._state.Width===null || value===null)&&(this._state.Width!==value)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment