Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed issue where deleting a note with prompt dialogs turned off woul…

…d toggle note edit mode;
  • Loading branch information...
commit 4f98c42f025bf66c2d53a0ac7dc0232fe4d17f0b 1 parent 481326d
Adam Renklint adamrenklint authored

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. +1 2  js/notes/note.js
3  js/notes/note.js
@@ -94,8 +94,7 @@ $(function() {
94 94 if (Titanium.App.Properties.getString('delete_prompt', '1') == 1) {
95 95 dialogs.openNoteDeleteDialog();
96 96 } else {
97   - $('textarea#noteTextarea').val('');
98   - $('input#save').click();
  97 + $('input#save').trigger('deleteNote');
99 98 }
100 99
101 100 });

0 comments on commit 4f98c42

Please sign in to comment.
Something went wrong with that request. Please try again.