aboutsummaryrefslogtreecommitdiffstats
path: root/data/bzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-02-20 00:07:17 +0100
committerMatěj Cepl <mcepl@redhat.com>2011-02-20 00:07:17 +0100
commit71df561fef80abf523548727d77dba2ef8ab7b93 (patch)
tree4973444f34c064718c0b1a1024c52005d4d225cb /data/bzpage.js
parent66275e3a326dc771c04cb6fbfdee68f09b66ee6c (diff)
downloadbugzilla-triage-71df561fef80abf523548727d77dba2ef8ab7b93.tar.gz
Add ability to briefly look through Xorg.0.log
Diffstat (limited to 'data/bzpage.js')
-rw-r--r--data/bzpage.js13
1 files changed, 6 insertions, 7 deletions
diff --git a/data/bzpage.js b/data/bzpage.js
index c1ff730..c012e07 100644
--- a/data/bzpage.js
+++ b/data/bzpage.js
@@ -207,7 +207,6 @@ function killNodes(doc, target, remove) {
* @return none
*/
function changeAssignee (newAssignee) {
- console.log("changeAssignee : newAssignee = " + newAssignee);
var defAssigneeButton = null;
// Previous assignee should know what's going on in his bug
addToCCList(getOwner());
@@ -307,7 +306,7 @@ function createDeadLink (id, text, parent, callback, params, before, covered, ac
} else {
newAElem.setAttribute("href", "");
newAElem.addEventListener("click", function(evt) {
- callback(params);
+ callback.apply(null, params);
evt.stopPropagation();
evt.preventDefault();
}, false);
@@ -337,8 +336,8 @@ function createNewButton (location, after, cmdObj) {
try {
var newId = cmdObj.name.toLowerCase().replace(/[^a-z0-9]+/,"","g") + "_btn";
} catch (e) {
- console.log("createNewButton : e = " + e);
- console.log("createNewButton : cmdObj.toSource() = " +
+ console.error("createNewButton : e = " + e +
+ "\ncreateNewButton : cmdObj.toSource() = " +
cmdObj.toSource());
}
@@ -385,9 +384,9 @@ function generateButtons (pkgs, kNodes) {
var topRowPosition = "topRowPositionID";
var bottomRowPosition = "commit";
- setUpLogging();
+ setUpLogging();
- // =========================================================
+ // =========================================================
if (kNodes && window.location.hostname in kNodes) {
var killConf = killNodes[window.location.hostname];
killNodes(document, killConf[0], killConf[1]);
@@ -421,7 +420,7 @@ function generateButtons (pkgs, kNodes) {
break;
}
} else {
- console.log("generateButtons : rejected cmdObj = " +
+ console.error("generateButtons : rejected cmdObj = " +
cmdObj.toSource());
}
}