diff --git a/examples/todos/.meteor/release b/examples/todos/.meteor/release index 0755219e60..4fb2b712d3 100644 --- a/examples/todos/.meteor/release +++ b/examples/todos/.meteor/release @@ -1 +1 @@ -METEOR@0.9.4-pre.11 +METEOR@0.9.4-rc.3 diff --git a/examples/todos/.meteor/versions b/examples/todos/.meteor/versions index c929f6de6b..68be03a1aa 100644 --- a/examples/todos/.meteor/versions +++ b/examples/todos/.meteor/versions @@ -1,7 +1,7 @@ -accounts-base@1.1.2-rc.0 +accounts-base@1.1.2-rc.2 accounts-password@1.0.3-rc.0 application-configuration@1.0.3-rc.0 -autoupdate@1.1.2-rc.0 +autoupdate@1.1.2-rc.3 base64@1.0.1-rc.0 binary-heap@1.0.1-rc.0 blaze-tools@1.0.1-rc.0 @@ -11,7 +11,7 @@ callback-hook@1.0.1-rc.0 check@1.0.2-rc.0 ctl-helper@1.0.4-rc.0 ctl@1.0.2-rc.0 -ddp@1.0.10-rc.0 +ddp@1.0.10-rc.2 deps@1.0.5-rc.0 ejson@1.0.4-rc.0 email@1.0.4-rc.0 @@ -20,7 +20,7 @@ follower-livedata@1.0.2-rc.0 geojson-utils@1.0.1-rc.0 html-tools@1.0.2-rc.0 htmljs@1.0.2-rc.0 -http@1.0.7-rc.0 +http@1.0.7-rc.3 id-map@1.0.1-rc.0 insecure@1.0.1-rc.0 iron:core@0.3.4 @@ -29,12 +29,12 @@ iron:layout@0.4.1 iron:router@0.9.4 jquery@1.0.1-rc.0 json@1.0.1-rc.0 -less@1.0.10-rc.0 +less@1.0.10-rc.3 livedata@1.0.11-rc.0 localstorage@1.0.1-rc.0 logging@1.0.4-rc.0 meteor-platform@1.1.2-rc.0 -meteor@1.1.2-rc.1 +meteor@1.1.2-rc.3 minifiers@1.1.1-rc.0 minimongo@1.0.4-rc.0 mobile-status-bar@1.0.1-rc.0 @@ -55,10 +55,10 @@ spacebars-compiler@1.0.3-rc.0 spacebars@1.0.3-rc.0 srp@1.0.1-rc.0 standard-app-packages@1.0.3-rc.0 -templating@1.0.8-rc.0 +templating@1.0.8-rc.2 tracker@1.0.3-rc.0 ui@1.0.4-rc.0 underscore@1.0.1-rc.0 url@1.0.1-rc.0 webapp-hashing@1.0.1-rc.0 -webapp@1.1.3-rc.0 +webapp@1.1.3-rc.2 diff --git a/examples/todos/client/templates/app-body.js b/examples/todos/client/templates/app-body.js index dfe9046e14..2a567bc78c 100644 --- a/examples/todos/client/templates/app-body.js +++ b/examples/todos/client/templates/app-body.js @@ -17,7 +17,8 @@ Meteor.startup(function () { }, wipeRight: function () { Session.set(MENU_KEY, true); - } + }, + preventDefaultEvents: false }); // Don't show the connection error box unless we haven't connected within diff --git a/examples/todos/client/templates/lists-show.js b/examples/todos/client/templates/lists-show.js index b684a914b0..17f7cd2335 100644 --- a/examples/todos/client/templates/lists-show.js +++ b/examples/todos/client/templates/lists-show.js @@ -117,15 +117,13 @@ Template.listsShow.events({ 'change .list-edit': function(event, template) { if ($(event.target).val() === 'edit') { editList(this, template); - } else if ($(event.target).val() === 'delete') { - if (! deleteList(this, template)) { - // reset the select - event.target.selectedIndex = 0; - } + deleteList(this, template); } else { toggleListPrivacy(this, template); } + + event.target.selectedIndex = 0; }, 'click .js-edit-list': function(event, template) {