From dca51073948d9556b9eba20c47ea08114de18e86 Mon Sep 17 00:00:00 2001 From: Mikael Karon <mikael@karon.se> Date: Fri, 1 Jun 2012 17:32:06 +0800 Subject: [PATCH] prevent simulated events to trigger --- labs/architecture-examples/troopjs/js/widget/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labs/architecture-examples/troopjs/js/widget/list.js b/labs/architecture-examples/troopjs/js/widget/list.js index 036837879f..7ed91bd49a 100644 --- a/labs/architecture-examples/troopjs/js/widget/list.js +++ b/labs/architecture-examples/troopjs/js/widget/list.js @@ -202,7 +202,7 @@ define( [ "troopjs-core/component/widget", "troopjs-core/store/local", "jquery", if (title === "") { $target - .closest("li") + .closest("li.editing") .removeClass("editing") .find(".destroy") .click();