Commit 59a8fb58 authored by Julia Radzhabova's avatar Julia Radzhabova

[DE] get_PropertyThemeColorSchemes -> asc_onSendThemeColorSchemes.

parent 6faa69ff
...@@ -1089,10 +1089,6 @@ define([ ...@@ -1089,10 +1089,6 @@ define([
createDelayedElements: function() { createDelayedElements: function() {
if (this.api) { if (this.api) {
var schemes = this.api.get_PropertyThemeColorSchemes();
if (schemes)
this.onSendThemeColorSchemes(schemes);
this.mnuNonPrinting.items[0].setChecked(this.api.get_ShowParaMarks(), true); this.mnuNonPrinting.items[0].setChecked(this.api.get_ShowParaMarks(), true);
this.mnuNonPrinting.items[1].setChecked(this.api.get_ShowTableEmptyLine(), true); this.mnuNonPrinting.items[1].setChecked(this.api.get_ShowTableEmptyLine(), true);
this.btnShowHidenChars.toggle(this.mnuNonPrinting.items[0].checked, true); this.btnShowHidenChars.toggle(this.mnuNonPrinting.items[0].checked, true);
...@@ -1501,6 +1497,7 @@ define([ ...@@ -1501,6 +1497,7 @@ define([
setApi: function(api) { setApi: function(api) {
this.api = api; this.api = api;
/** coauthoring begin **/ /** coauthoring begin **/
this.api.asc_registerCallback('asc_onSendThemeColorSchemes', _.bind(this.onSendThemeColorSchemes, this));
this.api.asc_registerCallback('asc_onCollaborativeChanges', _.bind(this.onCollaborativeChanges, this)); this.api.asc_registerCallback('asc_onCollaborativeChanges', _.bind(this.onCollaborativeChanges, this));
this.api.asc_registerCallback('asc_onAuthParticipantsChanged', _.bind(this.onApiUsersChanged, this)); this.api.asc_registerCallback('asc_onAuthParticipantsChanged', _.bind(this.onApiUsersChanged, this));
this.api.asc_registerCallback('asc_onParticipantsChanged', _.bind(this.onApiUsersChanged, this)); this.api.asc_registerCallback('asc_onParticipantsChanged', _.bind(this.onApiUsersChanged, this));
......
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