#838 closed bug (fixed)
crash in interface 1.1+sortable with input tag in sortable elements
Reported by: | 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]
Change History (4)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed and commited in SVN
comment:3 Changed 16 years ago by
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]
comment:4 Changed 16 years ago by
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 :)