Fix deleting first row not working properly

This commit is contained in:
Nathan Gray 2014-02-12 21:25:24 +00:00
parent 4a7c0204a0
commit 1134c6a4b9

View File

@ -121,7 +121,7 @@ var et2_nextmatch_controller = et2_dataview_controller.extend(et2_IDataProvider,
*/ */
deleteRow: function(uid) { deleteRow: function(uid) {
var entry = this._selectionMgr._getRegisteredRowsEntry(uid); var entry = this._selectionMgr._getRegisteredRowsEntry(uid);
if(entry && entry.idx) if(entry && entry.idx !== null)
{ {
// Trigger controller to remove from internals // Trigger controller to remove from internals
this.egw.dataStoreUID(uid,null); this.egw.dataStoreUID(uid,null);