all extension type

This commit is contained in:
Mo Bitar
2017-01-05 19:22:34 -06:00
parent 54ac4ffd15
commit 6306f2a316
16 changed files with 508 additions and 272 deletions

View File

@@ -54,7 +54,7 @@ angular.module('app.frontend')
}
$scope.tagsSave = function(tag, callback) {
tag.dirty = true;
tag.setDirty(true);
apiController.sync(callback);
}
@@ -111,7 +111,7 @@ angular.module('app.frontend')
*/
$scope.saveNote = function(note, callback) {
note.dirty = true;
note.setDirty(true);
apiController.sync(function(){
note.hasChanges = false;