diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-08-19 14:17:30 -0400 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-08-19 14:54:43 -0400 |
commit | 3c7ce2acd32114ba6a9e49aa8af23516261e3c6f (patch) | |
tree | 8e7dc949f1087c30d2a2a73b5c1ba336e604c648 /lib/rhbzpage.js | |
parent | 3ace26856d4fb2ea82de39ec7a97a7fb1c0c63ca (diff) | |
download | bugzilla-triage-3c7ce2acd32114ba6a9e49aa8af23516261e3c6f.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.js | 11 |
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" ], |