From 7df3e796d7d274e700cbd0729bbe81bacbff1b12 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Thu, 17 Feb 2011 00:30:37 +0100 Subject: Switch to Bugs Everywhere for issue tracking --- .../70b1e7f3-6446-45dc-91e5-e338d51770aa/body | 34 ++++++++++++++++++++++ .../70b1e7f3-6446-45dc-91e5-e338d51770aa/values | 8 +++++ 2 files changed, 42 insertions(+) create mode 100644 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3/comments/70b1e7f3-6446-45dc-91e5-e338d51770aa/body create mode 100644 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3/comments/70b1e7f3-6446-45dc-91e5-e338d51770aa/values (limited to '.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3/comments/70b1e7f3-6446-45dc-91e5-e338d51770aa') diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3/comments/70b1e7f3-6446-45dc-91e5-e338d51770aa/body b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3/comments/70b1e7f3-6446-45dc-91e5-e338d51770aa/body new file mode 100644 index 0000000..392378f --- /dev/null +++ b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3/comments/70b1e7f3-6446-45dc-91e5-e338d51770aa/body @@ -0,0 +1,34 @@ +Skript: +file:///home/matej/projekty/jetpack-sdk/packages/jetpack-core/lib/securable-module.js + -> +resource://jid0-uxmbewgoltuuuqrhkhrr7hw3iqy-bugzilla-triage-lib/bzpage.js:700 + + but I am not sure how reliable it is ... there doesn't seem to +be anything crazy going on there. + +This is somewhere around the line 700 in that time. + +BZPage.prototype.selectOptionByLabel = function selectOptionByLabel(id, label, fireEvent) { + if (!fireEvent) { + fireEvent = true; + } + var sel = this.doc.getElementById(id); + var labelRE = new RegExp(label.trim()); + var ourOption = Array.filter(sel.options, function (op) { + return op.textContent.trim() === label; + }, this); + + if (ourOption[0]) { + sel.value = ourOption[0].value; + } + + if (fireEvent) { + var intEvent = this.doc.createEvent("HTMLEvents"); + intEvent.initEvent("change", true, true); + sel.dispatchEvent(intEvent); + } + }; + +Please enter your comment above + +> with some bugs (many) scripts seems to be freezing (running endlessly) on bugzilla.mozilla.org diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3/comments/70b1e7f3-6446-45dc-91e5-e338d51770aa/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3/comments/70b1e7f3-6446-45dc-91e5-e338d51770aa/values new file mode 100644 index 0000000..4ca0acb --- /dev/null +++ b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3/comments/70b1e7f3-6446-45dc-91e5-e338d51770aa/values @@ -0,0 +1,8 @@ +Author: Matěj Cepl + + +Content-type: text/plain + + +Date: Wed, 16 Feb 2011 23:27:05 +0000 + -- cgit