Bug 274885 JS errors Ctrl/Shift+Left Clicking and Right Clicking links in P3P summary - Left click and more XUL tidyup patch v0.2b
p=me r=db48x sr=neil.parkwaycc.co.uk git-svn-id: svn://10.0.0.236/trunk@166890 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -189,10 +189,8 @@ function p3pSummarySavePage()
|
||||
*/
|
||||
function captureContentClick(aEvent)
|
||||
{
|
||||
if (aEvent.target.hasAttribute("message")) {
|
||||
if (aEvent.target.hasAttribute("message"))
|
||||
alertMessage(aEvent.target.getAttribute("message"));
|
||||
return true;
|
||||
}
|
||||
|
||||
return contentAreaClick(aEvent);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -58,13 +58,9 @@
|
||||
|
||||
<script type="application/x-javascript" src="chrome://p3p/content/p3pSummary.js"/>
|
||||
<script type="application/x-javascript" src="chrome://communicator/content/p3p/nsPolicyViewer.js"/>
|
||||
<script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
|
||||
<script type="application/x-javascript" src="chrome://communicator/content/contentAreaDD.js"/>
|
||||
<script type="application/x-javascript" src="chrome://communicator/content/printing.js"/>
|
||||
<script type="application/x-javascript" src="chrome://navigator/content/browser.js"/>
|
||||
<script type="application/x-javascript" src="chrome://communicator/content/findUtils.js"/>
|
||||
<script type="application/x-javascript" src="chrome://communicator/content/contentAreaUtils.js"/>
|
||||
<script type="application/x-javascript" src="chrome://communicator/content/contentAreaClick.js"/>
|
||||
|
||||
<commandset id="commands">
|
||||
<commandset id="globalEditMenuItems"/>
|
||||
@@ -149,7 +145,7 @@
|
||||
</menubar>
|
||||
</toolbox>
|
||||
|
||||
<vbox id="appcontent" flex="1" ondragdrop="nsDragAndDrop.drop(event, contentAreaDNDObserver);">
|
||||
<vbox id="appcontent" flex="1">
|
||||
<browser type="content-primary" id="content" flex="1"
|
||||
onclick="captureContentClick(event);"/>
|
||||
</vbox>
|
||||
|
||||
Reference in New Issue
Block a user