[DE] Fix Bug 48078

This commit is contained in:
Julia Radzhabova 2020-12-23 14:05:50 +03:00
parent 1e1b3afe91
commit 24a9f3674b
2 changed files with 2 additions and 2 deletions

View file

@ -1897,7 +1897,7 @@ define([
})).show();
} else {
this.api.asc_RemoveContentControl(id);
this.api.asc_RemoveContentControlWrapper(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_RemoveContentControl(props.get_InternalId());
props.get_FormPr() ? this.api.asc_RemoveContentControl(props.get_InternalId()) : this.api.asc_RemoveContentControlWrapper(props.get_InternalId());
}
}
me.fireEvent('editcomplete', me);