diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-03-02 01:14:36 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-03-02 01:14:36 +0100 |
commit | 41ffab7b32df1756e78af92ff68ff40afb75e1d5 (patch) | |
tree | 3bcddc3dfaa9f6ad7afbd0cf31f09d6bceb8e208 /.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3/comments/70b1e7f3-6446-45dc-91e5-e338d51770aa | |
parent | 273765aa78125b2106218ad554e6dedad7d2b381 (diff) | |
parent | 52bcf6e79eb3085b598a9ca0d21f60879a0e3706 (diff) | |
download | bugzilla-triage-41ffab7b32df1756e78af92ff68ff40afb75e1d5.tar.gz |
Merge branch 'pageMod' into next
Conflicts:
lib/bzpage.js
Diffstat (limited to '.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3/comments/70b1e7f3-6446-45dc-91e5-e338d51770aa')
2 files changed, 42 insertions, 0 deletions
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 <mcepl@redhat.com> + + +Content-type: text/plain + + +Date: Wed, 16 Feb 2011 23:27:05 +0000 + |