1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 07:22:27 +01:00

display an error message when :dialog dominspector is called if the DOM

Inspector extension is not installed
This commit is contained in:
Doug Kearns
2008-08-27 01:11:31 +00:00
parent b9b8e6ea24
commit 0bf8f8e086

View File

@@ -62,7 +62,7 @@ liberator.config = { //{{{
["customizetoolbar", "Customize the Toolbar",
function () { BrowserCustomizeToolbar(); }],
["dominspector", "DOM Inspector",
function () { inspectDOMDocument(content.document); }],
function () { try { inspectDOMDocument(content.document); } catch (e) { liberator.echoerr("DOM Inspector extension not installed"); } }],
["downloads", "Manage Downloads",
function () { toOpenWindowByType('Download:Manager', 'chrome://mozapps/content/downloads/downloads.xul', 'chrome,dialog=no,resizable'); }],
["history", "List your history",