Skip to content

Commit

Permalink
feat(crud-edit): use
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin committed Apr 30, 2013
1 parent aa5e004 commit 49d9c1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/common/directives/crud/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ angular.module('directives.crud.edit', [])
scope.revertChanges = function() {
resource = angular.copy(original);
resourceSetter(scope, resource);
form.$setPristine();
};
scope.remove = function() {
if(resource.$id()) {
Expand Down

0 comments on commit 49d9c1d

Please sign in to comment.