diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libbugzilla.js | 5 | ||||
-rw-r--r-- | lib/main.js | 4 |
2 files changed, 0 insertions, 9 deletions
diff --git a/lib/libbugzilla.js b/lib/libbugzilla.js index f7ae37b..928555e 100644 --- a/lib/libbugzilla.js +++ b/lib/libbugzilla.js @@ -248,11 +248,6 @@ exports.setClipboard = function setClipboard(stuff) { clipboard.set(stuff, "text"); }; -exports.openStringInNewPanel = function openStringInNewPanel(inHTMLStr) { - openURLInNewPanel("data:text/html;charset=utf-8," + - inHTMLStr); -}; - var openURLInNewPanel = exports.openURLInNewPanel = function openURLInNewPanel(url) { var panel = panelMod.Panel({ contentURL: url, diff --git a/lib/main.js b/lib/main.js index 6a5e58c..0beb947 100644 --- a/lib/main.js +++ b/lib/main.js @@ -77,10 +77,6 @@ var messageHandler = exports.messageHandler = function messageHandler( case "OpenURLinTab": libbz.openURLInNewTab(msg.data); break; - // Needed because Panel is add-on module - case "OpenStringInPanel": - libbz.openStringInNewPanel(msg.data); - break; // Needed because creating additional page-mods on remote bugzilla case "OpenBugUpstream": libbz.createUpstreamBug(msg.data.url, msg.data.subject, |