diff --git a/app/appinfo.json b/app/appinfo.json
index 97e0d55..53e3fe9 100644
--- a/app/appinfo.json
+++ b/app/appinfo.json
@@ -1,6 +1,6 @@
{
"id": "com.monkeystew.todotxtenyo.beta",
- "version": "0.1.0",
+ "version": "0.1.1",
"vendor": "Monkeystew",
"type": "web",
"main": "index.html",
diff --git a/app/index.html b/app/index.html
index bb93b50..10702e7 100644
--- a/app/index.html
+++ b/app/index.html
@@ -16,6 +16,10 @@
appInstance.renderInto(document.body);
+
0.1.1
+
+ - Bugfix: race condition when deleting certain entries.
+
0.1.0
- Initial open source and beta release.
diff --git a/app/source/TodoList.js b/app/source/TodoList.js
index b922aff..ee7668e 100644
--- a/app/source/TodoList.js
+++ b/app/source/TodoList.js
@@ -140,7 +140,15 @@ enyo.kind({
todoTap: function(inSender, inEvent) {
this.selectedIndex = inEvent.rowIndex;
if (this.selectedIndex != undefined) {
- this.selectedId = this.sortedList[this.selectedIndex].num-1;
+ //this.selectedId = this.sortedList[this.selectedIndex].num-1;
+ var num = this.sortedList[this.selectedIndex].num;
+ function getIdx(list, num) {
+ for (var i=0; i