Commit 789f7adb authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

PASTE_ELEMENT_ID2 -> PASTE_ELEMENT_ID

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64853 954022d7-b5bf-4e40-9824-e11837661b57
parent 424e7667
......@@ -96,7 +96,7 @@ var copyPasteUseBinary = true;
if (window.USER_AGENT_SAFARI_MACOS)
{
PASTE_ELEMENT_ID = "SelectId";
PASTE_ELEMENT_ID = COPY_ELEMENT_ID;
ELEMENT_DISPAY_STYLE = "block";
}
......
......@@ -1315,7 +1315,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
// Какая-то непонятная заглушка, чтобы не падало в ipad
if (this.isMobileVersion) {
window.USER_AGENT_SAFARI_MACOS = false;
PASTE_ELEMENT_ID2 = "wrd_pastebin";
PASTE_ELEMENT_ID = "wrd_pastebin";
ELEMENT_DISPAY_STYLE = "none";
}
......
......@@ -966,10 +966,10 @@
{
//var oWordControl = api.WordControl;
var t = this;
var pastebin = document.getElementById(PASTE_ELEMENT_ID2);
var pastebin = document.getElementById(PASTE_ELEMENT_ID);
if(!pastebin){
pastebin = document.createElement("div");
pastebin.setAttribute( 'id', PASTE_ELEMENT_ID2 );
pastebin.setAttribute( 'id', PASTE_ELEMENT_ID );
pastebin.setAttribute( 'class', COPYPASTE_ELEMENT_CLASS );
pastebin.style.position = 'absolute';
pastebin.style.top = '100px';
......@@ -5469,14 +5469,13 @@
)(jQuery, window);
var COPY_ELEMENT_ID2 = "clipboard-helper";
var PASTE_ELEMENT_ID2 = "wrd_pastebin";
var kElementTextId = "clipboard-helper-text";
var isNeedEmptyAfterCut = false;
if (window.USER_AGENT_SAFARI_MACOS)
{
PASTE_ELEMENT_ID2 = "clipboard-helper";
PASTE_ELEMENT_ID = COPY_ELEMENT_ID2;
}
function SafariIntervalFocus2()
{
......
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