aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-09-04 03:16:20 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-09-04 03:16:20 +0200
commit440ce05b99983e334a4998fc39396b35b641cff1 (patch)
treed0b82fafb09e2fee8da5f77a1b160083cbab6f37 /lib
parent78f2a9dc142341ba361420c63200a60c6d58da81 (diff)
downloadbugzilla-triage-440ce05b99983e334a4998fc39396b35b641cff1.tar.gz
Remove unnecessary call OpenStringInPanel and related function.
Diffstat (limited to 'lib')
-rw-r--r--lib/libbugzilla.js5
-rw-r--r--lib/main.js4
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,