Commit 68defd3b authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

wb.getWorksheet().isCellEditMode -> getCellEditMode

bIsEmptyClipboard to return

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66616 954022d7-b5bf-4e40-9824-e11837661b57
parent 3db4cf8f
......@@ -5459,7 +5459,7 @@ function SafariIntervalFocus2()
return;
var pastebin = document.getElementById(COPY_ELEMENT_ID2);
var pastebinText = document.getElementById(kElementTextId);
if(pastebinText && (api.wb && api.wb.getWorksheet() && api.wb.getWorksheet().isCellEditMode) && api.IsFocus)
if(pastebinText && (api.wb && api.wb.getCellEditMode()) && api.IsFocus)
{
pastebinText.focus();
}
......
......@@ -1717,10 +1717,7 @@
};
WorkbookView.prototype.bIsEmptyClipboard = function () {
var t = this, ws, v;
var result = t.clipboard.bIsEmptyClipboard(t.controller.isCellEditMode);
return result;
return this.clipboard.bIsEmptyClipboard(this.controller.isCellEditMode);
};
WorkbookView.prototype.cutToClipboardButton = function () {
......
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