[DE] Fix Bug 47973

This commit is contained in:
Julia Radzhabova 2020-12-14 12:25:12 +03:00
parent acc2a52666
commit 8f394803f4
3 changed files with 3 additions and 3 deletions

View file

@ -1897,7 +1897,7 @@ define([
})).show();
} else {
this.api.asc_RemoveContentControlWrapper(id);
this.api.asc_RemoveContentControl(id);
Common.component.Analytics.trackEvent('ToolBar', 'Remove Content Control');
}
}

View file

@ -1880,7 +1880,7 @@ define([
}
})).show();
} else if (item.value == 'remove') {
this.api.asc_RemoveContentControlWrapper(props.get_InternalId());
this.api.asc_RemoveContentControl(props.get_InternalId());
}
}
me.fireEvent('editcomplete', me);

View file

@ -294,7 +294,7 @@ define([
style : 'text-align: left;'
});
this.btnRemForm.on('click', _.bind(function(btn){
this.api.asc_RemoveContentControlWrapper(this._state.id);
this.api.asc_RemoveContentControl(this._state.id);
}, this));
this.lockedControls.push(this.btnRemForm);