Commit 1b2ac0a4 authored by Sergey Luzyanin's avatar Sergey Luzyanin

Is_SelectionUse

parent 4cdcd63c
......@@ -1198,11 +1198,7 @@ DrawingObjectsController.prototype =
Is_SelectionUse: function(){
var content = this.getTargetDocContent(undefined, true);
if(content){
return content.Is_SelectionUse();
}
return false;
return this.selectedObjects.length > 0;
},
getFromTargetTextObjectContextMenuPosition: function(oTargetTextObject, pageIndex)
......
......@@ -2035,9 +2035,18 @@ CGraphicObjects.prototype =
}
},
isSelectionUse: function()
{
var content = this.getTargetDocContent();
if(content)
{
return content.Is_TextSelectionUse();
}
else
{
return this.selectedObjects.length > 0;
}
},
paragraphFormatPaste: function( CopyTextPr, CopyParaPr, Bool )
......
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