Merge pull request #1728 from corinnaerin/master
Compatibility with jQuery 1.9 +
This commit is contained in:
commit
fc5ac5b137
@ -1884,7 +1884,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||||||
this.parent.close.apply(this, arguments);
|
this.parent.close.apply(this, arguments);
|
||||||
|
|
||||||
params = params || {focus: true};
|
params = params || {focus: true};
|
||||||
this.focusser.removeAttr("disabled");
|
this.focusser.prop("disabled", false);
|
||||||
|
|
||||||
if (params.focus) {
|
if (params.focus) {
|
||||||
this.focusser.focus();
|
this.focusser.focus();
|
||||||
@ -1896,7 +1896,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||||||
if (this.opened()) {
|
if (this.opened()) {
|
||||||
this.close();
|
this.close();
|
||||||
} else {
|
} else {
|
||||||
this.focusser.removeAttr("disabled");
|
this.focusser.prop("disabled", false);
|
||||||
this.focusser.focus();
|
this.focusser.focus();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1909,7 +1909,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||||||
// single
|
// single
|
||||||
cancel: function () {
|
cancel: function () {
|
||||||
this.parent.cancel.apply(this, arguments);
|
this.parent.cancel.apply(this, arguments);
|
||||||
this.focusser.removeAttr("disabled");
|
this.focusser.prop("disabled", false);
|
||||||
this.focusser.focus();
|
this.focusser.focus();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user