mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
107311 - insert accidentally removed <![CDATA[ and add a null check just in case
r=jst, sr=sspitzer
This commit is contained in:
parent
95eb959a2d
commit
95474277c6
@ -9,6 +9,7 @@
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
function sendLink(pageUrl, pageTitle)
|
||||
{
|
||||
var currentIdentity = getCurrentIdentityKey();
|
||||
@ -43,11 +44,13 @@
|
||||
|
||||
var shouldShowSendLink = gContextMenu.onLink;
|
||||
gContextMenu.showItem("context-sendlink", shouldShowSendLink);
|
||||
|
||||
|
||||
var appsSeparator = document.getElementById("context-sep-apps");
|
||||
var tempElement = appsSeparator.previousSibling;
|
||||
if (tempElement.localName == "menuseparator")
|
||||
gContextMenu.showItem("context-sep-apps", false);
|
||||
if (appsSeparator) {
|
||||
var tempElement = appsSeparator.previousSibling;
|
||||
if (tempElement.localName == "menuseparator")
|
||||
gContextMenu.showItem("context-sep-apps", false);
|
||||
}
|
||||
}
|
||||
|
||||
function initMailContextMenuListener(aEvent)
|
||||
|
Loading…
Reference in New Issue
Block a user