fix record reload from hashPath
authorDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 5 Nov 2010 16:14:37 +0000 (17:14 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 5 Nov 2010 16:14:37 +0000 (17:14 +0100)
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

templates/conference/Work.html.ep

index 253287d..5260e4b 100644 (file)
@@ -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;