aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rhbzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-08-19 14:17:30 -0400
committerMatěj Cepl <mcepl@redhat.com>2010-08-19 14:47:14 -0400
commit4f6829c5186526db242e1d47b916dc4856aa10f2 (patch)
tree4a5d9e551d27b191b67fa3bb07a0d4b01118b0b7 /lib/rhbzpage.js
parent3ace26856d4fb2ea82de39ec7a97a7fb1c0c63ca (diff)
downloadbugzilla-triage-4f6829c5186526db242e1d47b916dc4856aa10f2.tar.gz
Make skipping attachments working
- add attachment.cgi$ to skipMatches regexp - NotLoggedinException should be caught in main.js not in rhbzpage.js Fixes #41 New release 0.18
Diffstat (limited to 'lib/rhbzpage.js')
-rw-r--r--lib/rhbzpage.js11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js
index e858145..b55e44b 100644
--- a/lib/rhbzpage.js
+++ b/lib/rhbzpage.js
@@ -21,16 +21,7 @@ var NumberOfFrames = require("bzpage").NumberOfFrames;
var RHBugzillaPage = function RHBugzillaPage(win, config) {
// inheritance ... call superobject's constructor
- try {
- BZPage.call(this, win, config);
- } catch (ex) {
- if (ex instanceof require("bzpage").NotLoggedinException) {
- console.log(ex);
- return ; // Bail out if the user is not logged in
- } else {
- throw ex; // rethrow the exception otherwise
- }
- }
+ BZPage.call(this, win, config);
// For identification of graphics card
this.manuChipStrs = [ [ "ATI Radeon", "ATI", "1002" ],