Bug Tracker

Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#838 closed bug (fixed)

crash in interface 1.1+sortable with input tag in sortable elements

Reported by: cedric@… 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 14 years ago by spark

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 :)

comment:2 Changed 13 years ago by stefan

Resolution: fixed
Status: newclosed

Fixed and commited in SVN

comment:3 Changed 13 years ago by gdx@…

Resolution: fixed
Status: closedreopened

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 13 years ago by stefan

Resolution: fixed
Status: reopenedclosed

Sorry, my fault, commited wrong file. Check again please.

Note: See TracTickets for help on using tickets.