diff options
-rw-r--r-- | data/lib/queries.js | 6 | ||||
-rw-r--r-- | data/rhlib/rhbzpage.js | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/data/lib/queries.js b/data/lib/queries.js index 066991e..ccb2927 100644 --- a/data/lib/queries.js +++ b/data/lib/queries.js @@ -2,7 +2,7 @@ // http://www.opensource.org/licenses/mit-license.php "use strict"; -function getSelection() { +function getSel() { var text = ""; var selectionObject = window.getSelection(); if (selectionObject.rangeCount > 0) { @@ -64,7 +64,7 @@ function queryInNewTab(text, component, product, equivComps) { * function this.queryInNewTab, and run it. */ function queryForSelection() { - var text = getSelection(); + var text = getSel(); if (!text) { self.postMessage(new Message("GetClipboard", "queryLocal")); } @@ -107,7 +107,7 @@ function queryUpstream(qUpBug) { alert("We don't have constantData.queryUpstreamBug set up!"); return null; } - var text = getSelection(); + var text = getSel(); if (!text) { self .postMessage(new Message("GetClipboard", "queryUpstream")); diff --git a/data/rhlib/rhbzpage.js b/data/rhlib/rhbzpage.js index bfdeb55..f74556c 100644 --- a/data/rhlib/rhbzpage.js +++ b/data/rhlib/rhbzpage.js @@ -103,7 +103,7 @@ function closeSomeRelease() { // "Fixed in Version" textbox // otherwise -> NEXTRELEASE selectOption("bug_status", "CLOSED"); - var text = getSelection(); + var text = getSel(); var resolution = ""; if (text.length > 0) { |