This commit is contained in:
mgalli%geckonnection.com 2005-08-24 19:50:07 +00:00
Родитель 80c4045386
Коммит 1ea2d95575
2 изменённых файлов: 6 добавлений и 14 удалений

Просмотреть файл

@ -424,19 +424,15 @@ function DoClipCheckPaste()
} else return false;
}
/*
Currently supports pasting text/unicode within INPUT and TEXTAREA
*/
function DoClipPaste()
{
var pasteTxt=DoClipCheckPaste();
/* With 007 does not fail. Maybe now focus is on the context menu */
if(document.commandDispatcher.focusedElement) {
document.commandDispatcher.focusedElement.value=pasteTxt;
}
/* 008 note - value is there in the clipboard, however somehow paste action does not happen.
If you evaluate the canpaste you get false. */
var disp = document.commandDispatcher;
var cont = disp.getControllerForCommand("cmd_paste");
cont.doCommand("cmd_paste");
}
function addToUrlbarHistory()

Просмотреть файл

@ -67,10 +67,6 @@
<toolbox>
<!-- command definitions -->
<!-- WARNING: this should be enabled soon as the events menu fix is landed. -->
<!-- we shall enable all the command="cmd_commandName" for each Menu Item -->
<!-- so far, the -->
<command id="cmd_BrowserOpenTab" oncommand="BrowserOpenTab()"/>
<command id="cmd_BrowserSSR" oncommand="BrowserToogleSSR()"/>
<command id="cmd_BrowserSiteSSR" oncommand="BrowserToogleSiteSSR()"/>