Side navigation
#838 closed bug (fixed)
Opened January 17, 2007 05:34PM UTC
Closed January 19, 2007 11:54AM UTC
Last modified June 19, 2007 09:27AM UTC
crash in interface 1.1+sortable with input tag in sortable elements
Reported by: | cedric@yterium.com | Owned by: | stefan |
---|---|---|---|
Priority: | undecided | Milestone: | 1.1 |
Component: | interface | Version: | 1.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
as soon as the sortable div element contains a <input ... /> tag, no sort is possible and a crash event occurs in interface.js
Erreur : uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLInputElement.selectionStart]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost/_core/spip/plugins/zone/_stable_/forms/forms_et_tables_1_9_1/javascript/interface.js :: anonymous :: line 8" data: no]
Attachments (0)
Change History (4)
Changed January 17, 2007 06:56PM UTC by comment:1
Changed January 18, 2007 10:17AM UTC by comment:2
resolution: | → fixed |
---|---|
status: | new → closed |
Fixed and commited in SVN
Changed January 19, 2007 09:23AM UTC by comment:3
resolution: | fixed |
---|---|
status: | closed → reopened |
For me the problem still exist. I'm using latest version (rev 1126).
uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLInputElement.selectionStart]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost/static/js/iutil.js :: anonymous :: line 203" data: no]
Changed January 19, 2007 11:54AM UTC by comment:4
resolution: | → fixed |
---|---|
status: | reopened → closed |
Sorry, my fault, commited wrong file. Check again please.
It is related to the purgeEvents function in 'iutil.js' :
If you comment it's content, that will stop the nasty error on firefox. Remember it's just a simple fix to make things work , while the real programmers do the hard stuff :)