Skip to content

Commit

Permalink
Merge branch 'master' of github.com:appcelerator/titanium_mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Blain Hamon authored and Blain Hamon committed Sep 2, 2010
2 parents 01676ca + 78ca20f commit d3050cd
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,9 @@ button.addEventListener('click', function()
var index = tableview.data.length-1;
Ti.API.info("deleting row "+index);

tableview.deleteRow(index,{animationStyle:Titanium.UI.iPhone.RowAnimationStyle.UP});
try {
tableview.deleteRow(index,{animationStyle:Titanium.UI.iPhone.RowAnimationStyle.UP});
} catch (E) {
Ti.UI.createNotification({ message: E.message }).show();
}
});

0 comments on commit d3050cd

Please sign in to comment.