1.3.7
This commit is contained in:
Родитель
7132fff7a7
Коммит
34915e7296
|
@ -1,3 +1,7 @@
|
|||
== 1.3.7
|
||||
|
||||
* Fix removal of hidden fields in IE9.
|
||||
|
||||
== 1.3.6
|
||||
|
||||
* Fix global variable creation
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
var Braintree = {
|
||||
sjcl: sjcl,
|
||||
version: "1.3.6"
|
||||
version: "1.3.7"
|
||||
};
|
||||
|
||||
Braintree.generateAesKey = function () {
|
||||
|
@ -157,15 +157,15 @@ Braintree.EncryptionClient = function (publicKey) {
|
|||
self.encryptForm = function (form) {
|
||||
var element, encryptedValue,
|
||||
fieldName, hiddenField,
|
||||
i, inputs, ownerDocument;
|
||||
i, inputs, bodyElement;
|
||||
|
||||
form = extractForm(form);
|
||||
inputs = findInputs(form);
|
||||
|
||||
while (hiddenFields.length > 0) {
|
||||
ownerDocument = hiddenFields[0].ownerDocument;
|
||||
bodyElement = hiddenFields[0].ownerDocument.body;
|
||||
|
||||
if (ownerDocument.contains && ownerDocument.contains(hiddenFields[0])) {
|
||||
if (bodyElement.contains && bodyElement.contains(hiddenFields[0])) {
|
||||
form.removeChild(hiddenFields[0]);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче