Hi, I have a qx.ui.list.List binded to a qx.data.Array which is the model of the data binding (I add to it a marshalled JSON objects).
I added a button which removes items from the Array (and through it from the List). In order to remove the items I use something like: var sel = list.getSelection().getItem(0); var id = array.indexOf(sel); array.removeAt(id); I also used simply array.remove(sel). All this works fine as long as i don't need to delete the last item in the array. if i try to remove the last item (and there is more than one item in the list), I get a "too much recursion" error. I have defined a sorter on the list and tried disabling it but it didn't change anything. Any ideas? Thanks, Omri -- View this message in context: http://qooxdoo.678.n2.nabble.com/Too-much-recursion-error-when-removing-the-last-item-from-an-Array-tp6839289p6839289.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel