[isidorus-cvs] r282 - trunk/src/ajax/javascripts

Lukas Giessmann lgiessmann at common-lisp.net
Fri Apr 16 09:16:36 UTC 2010


Author: lgiessmann
Date: Fri Apr 16 05:16:36 2010
New Revision: 282

Log:
ui: after deleting an occurrence or name, the item-identifiers which existed before the deleteing-operation are removed

Modified:
   trunk/src/ajax/javascripts/datamodel.js

Modified: trunk/src/ajax/javascripts/datamodel.js
==============================================================================
--- trunk/src/ajax/javascripts/datamodel.js	(original)
+++ trunk/src/ajax/javascripts/datamodel.js	Fri Apr 16 05:16:36 2010
@@ -4416,6 +4416,10 @@
 		else {
 		    if(type === "Occurrence"){ objectToDelete.__value__.setValue(""); }
 		    else { objectToDelete.__value__.__frames__[0].__content__.setValue(""); }
+		    var ii = objectToDelete.__itemIdentity__;
+		    objectToDelete.__itemIdentity__ = new ItemIdentityC(null, objectToDelete);
+		    ii.append(objectToDelete.__itemIdentity__.getFrame());
+		    ii.remove();
 		}
 	    }
 	});   




More information about the Isidorus-cvs mailing list