我正在发行jQuery UI的焦点问题
无法获得property'_focusTabbable'of未定义或空引用
我使用jQuery-UI-1.10.2.custom.js
在这里我得到问题
if (!$.ui.dialog.overlayInstances) {
// Prevent use of anchors and inputs.
// We use a delay in case the overlay is created from an
// event that we're going to be cancelling. (#2804)
this._delay(function() {
// Handle .dialog().dialog("close") (#4065)
if ($.ui.dialog.overlayInstances) {
this.document.bind("focusin.dialog", function(event) {
if (!that._allowInteraction(event)) {
event.preventDefault();
**$(".ui-dialog:visible:last .ui-dialog-content")
.data(widgetFullName)._focusTabbable();**
}
});
}
});
}
这是您的代码吗?或者它是一些插件?或者它是jQuery UI本身? –
这是一个Jquery Ui本身 –
对于我的情况下的任何人,当使用widget工厂制作的jQuery.ui.dialog的自定义实现连续堆叠对话框时,我遇到了很多错误消息。看起来问题是在jQuery UI master中修补的,所以我做了这个快速入侵,直到我们可以更新。 https://pastebin.com/Q6ChMU84 – Marie