Commit 9586f022 authored by SergeyLuzyanin's avatar SergeyLuzyanin

fix Bug 35220

parent 436eab7c
......@@ -1199,8 +1199,14 @@
{
this.sendEvent("asc_onFocusObject", this.SelectedObjectsStack);
};
asc_docs_api.prototype.getSelectedElements = function()
asc_docs_api.prototype.getSelectedElements = function(bUpdate)
{
if (true === bUpdate){
if(this.WordControl && this.WordControl.m_oLogicDocument){
this.WordControl.m_oLogicDocument.Document_UpdateInterfaceState();
}
}
return this.SelectedObjectsStack;
};
asc_docs_api.prototype.sync_ChangeLastSelectedElement = function(type, obj)
......@@ -5285,6 +5291,7 @@ background-repeat: no-repeat;\
asc_docs_api.prototype.sync_SpellCheckVariantsFound = function()
{
console.log("asc_onSpellCheckVariantsFound");
this.sendEvent("asc_onSpellCheckVariantsFound");
};
......@@ -5350,7 +5357,7 @@ background-repeat: no-repeat;\
asc_docs_api.prototype.spellCheck = function(rdata)
{
//console.log("start - " + rdata);
console.log("start - " + JSON.stringify(rdata));
// ToDo проверка на подключение
switch (rdata.type)
{
......
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