Yeah, pushed this to avoid conflicts but yes need to fix. Thanks.
On 14 Oct 2013 22:13, "Robbie MacKay" <notifications@github.com> wrote:

> In modules/UshahidiUI/media/js/app/views/PostItemView.js:
>
> > -				this.model.destroy({
> > -					// Wait till server responds before destroying model
> > -					wait: true
> > +				alertify.confirm('Are you sure you want to delete', function(confirmed)
> > +				{
> > +					that.model.destroy({
> > +						// Wait till server responds before destroying model
> > +						wait: true
> > +					}).done(function()
> > +					{
> > +						alertify.success('Post has been deleted.');
> > +						PostListView.updatePagination();
> > +
> > +					}).fail(function ()
> > +					{
> > +						alertify.info('Cancelled');
>
> erm. totally wrong place here. If the destroy() fails it will be because
> there was a server error. Not because the user cancelled. See my comment
> above.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/ushahidi/Lamu/pull/111/files#r6952783>
> .
>