[DE] Fix Bug 47973
This commit is contained in:
parent
acc2a52666
commit
8f394803f4
|
@ -1897,7 +1897,7 @@ define([
|
||||||
})).show();
|
})).show();
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.api.asc_RemoveContentControlWrapper(id);
|
this.api.asc_RemoveContentControl(id);
|
||||||
Common.component.Analytics.trackEvent('ToolBar', 'Remove Content Control');
|
Common.component.Analytics.trackEvent('ToolBar', 'Remove Content Control');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1880,7 +1880,7 @@ define([
|
||||||
}
|
}
|
||||||
})).show();
|
})).show();
|
||||||
} else if (item.value == 'remove') {
|
} else if (item.value == 'remove') {
|
||||||
this.api.asc_RemoveContentControlWrapper(props.get_InternalId());
|
this.api.asc_RemoveContentControl(props.get_InternalId());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
me.fireEvent('editcomplete', me);
|
me.fireEvent('editcomplete', me);
|
||||||
|
|
|
@ -294,7 +294,7 @@ define([
|
||||||
style : 'text-align: left;'
|
style : 'text-align: left;'
|
||||||
});
|
});
|
||||||
this.btnRemForm.on('click', _.bind(function(btn){
|
this.btnRemForm.on('click', _.bind(function(btn){
|
||||||
this.api.asc_RemoveContentControlWrapper(this._state.id);
|
this.api.asc_RemoveContentControl(this._state.id);
|
||||||
}, this));
|
}, this));
|
||||||
this.lockedControls.push(this.btnRemForm);
|
this.lockedControls.push(this.btnRemForm);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue