From: Dobrica Pavlinusic Date: Fri, 5 Nov 2010 16:14:37 +0000 (+0100) Subject: fix record reload from hashPath X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=850ded6f4d3e7a5559821fe9805c60ef389624be;p=angular-mojolicious.git fix record reload from hashPath It seems it's still a bit tricky on my brain :-) I don't need to reset it manually because reset is called on every page load, and removes work._id --- diff --git a/templates/conference/Work.html.ep b/templates/conference/Work.html.ep index 253287d..5260e4b 100644 --- a/templates/conference/Work.html.ep +++ b/templates/conference/Work.html.ep @@ -40,7 +40,6 @@ console.debug( 'symposium', symposium, this.work ) this.work.type = 'symposium'; } console.debug( 'reset', symposium, this.work, this.$location.hashPath ); - this.$location.hashPath = ''; }, save: function(){ var l = this.$location;