зеркало из https://github.com/mozilla/pjs.git
[XForms] Fix JS strict errors with select/select1. Bug 339079, r=smaug+doronr
This commit is contained in:
Родитель
f82db2ddd8
Коммит
32fc428ad2
|
@ -106,7 +106,7 @@
|
|||
<body>
|
||||
<![CDATA[
|
||||
if (this._refreshing)
|
||||
return;
|
||||
return true;
|
||||
|
||||
this.control.readonly = this.accessors.isReadonly();
|
||||
|
||||
|
@ -662,7 +662,7 @@
|
|||
var boundNode = this.accessors.getBoundNode();
|
||||
if (!boundNode) {
|
||||
this._dispatchSelectEvents();
|
||||
return;
|
||||
return null;
|
||||
}
|
||||
|
||||
// we are cloning boundNode to create a node that we will return.
|
||||
|
@ -675,7 +675,7 @@
|
|||
contentEnvelope = boundNode.cloneNode(false);
|
||||
if (!contentEnvelope) {
|
||||
this._dispatchSelectEvents();
|
||||
return;
|
||||
return null;
|
||||
}
|
||||
|
||||
var selectedValues = "";
|
||||
|
|
|
@ -991,7 +991,7 @@
|
|||
|
||||
var boundNode = this.accessors.getBoundNode();
|
||||
if (!boundNode) {
|
||||
return;
|
||||
return null;
|
||||
}
|
||||
|
||||
var contentEnvelope = boundNode.cloneNode(false);
|
||||
|
|
Загрузка…
Ссылка в новой задаче