Opened 10 years ago
Closed 10 years ago
#13581 closed bug (notabug)
SCRIPT5007: Unable to get value of the property '_focusTabbable': object is null or undefined
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Situation: I have an existing page consisting of a form with many elements. Made more usable by having some repeating elements appear in hide/show div elements (like subforms). I proposed to improve functionality by using JQuery Dialog in place of show/hide divs (in fact the original divs were turned into dialogs).<br /> I found that when the form was submitted, the form input fields in the dialogs were not being submitted to the server. I found that JQuery dialog had rewritten the dialogs to be appended to the document (outside of the <form>) and thus not submitted. I was using Jquery UI 1.8.13 on Jquery 1.5.1
I found that Jquery UI 1.10 added the 'appendTo' option allowing specification of a page element to which the dialog code is appended, instead of the document.
I had to deploy Jquery 1.9.1 + jquery UI 1.10.1 to make that option available.
The original problem is now fixed - the dialog code is being written appended to the table inside the form, but when I try to show/hide the dialogs, I get the above error.
I am using Internet Explorer 9 on Windows 7 Pro platform to develop/test.
Some clues as to what is going on and possible solutions would be appreciated. Thanks, ...
Change History (2)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
You should report jQuery UI bugs to http://bugs.jqueryui.com. However, we'll need a reduced test case showing that this problem exists in 1.10.1.
Further information: The error is fired from within the _createOverlay function in jQuery-UI-1.10.1.custom.js (as marked):
_createOverlay: function() {
/*>>HERE>>*/ .data("ui-dialog")._focusTabbable();
}); }
this.overlay = $("<div>")
this._on( this.overlay, {
}); $.ui.dialog.overlayInstances++; },