diff options
Diffstat (limited to 'data/rhbzpage.js')
-rw-r--r-- | data/rhbzpage.js | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/data/rhbzpage.js b/data/rhbzpage.js index f0347d7..3eaed66 100644 --- a/data/rhbzpage.js +++ b/data/rhbzpage.js @@ -156,6 +156,8 @@ function addAttachmentCallback(resp) { function addAttachment(data, callback, param) { var params = []; + console.log("addAttachment : constantData.passwordState.passAvailable = " + + constantData.passwordState.passAvailable); if (!constantData.passwordState.passAvailable) { console.log("addAttachment : No password, no XML-RPC calls; sorry"); return null; @@ -343,16 +345,6 @@ function addCheckShowLink(oldAtt, snippet) { */ function markBadAttachments(atts) { var badMIMEArray = [ "application/octet-stream", "text/x-log", "undefined" ]; -/* FIXME -error: An exception occurred. -Traceback (most recent call last): - File "/home/matej/archiv/2011/projekty/bugzilla-triage/data/bzpage.js", line 1005, in - File "/home/matej/archiv/2011/projekty/bugzilla-triage/data/bzpage.js", line 998, in startup - File "/home/matej/archiv/2011/projekty/bugzilla-triage/data/rhbzpage.js", line 915, in RHBZinit - File "/home/matej/archiv/2011/projekty/bugzilla-triage/data/rhbzpage.js", line 344, in markBadAttachments -TypeError: "use strict";constantData.passwordState is undefined -*/ - // FIXME this should work console.log("markBadAttachments : constantData.passwordState.toSource() = " + constantData.passwordState.toSource()); if (!constantData.passwordState.passAvailable) { |