blob: 392378f181b43185e622fe25cb5b7fdc6cfbdee3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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
|