From ac4d21c7fbbeb944f8ef2029ae09fd2ad352baad Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Thu, 4 Nov 2010 18:31:18 +0100 Subject: [PATCH] store changes inside work so it persists on server --- templates/conference/Work.html.ep | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/conference/Work.html.ep b/templates/conference/Work.html.ep index 426b1b4..253287d 100644 --- a/templates/conference/Work.html.ep +++ b/templates/conference/Work.html.ep @@ -46,6 +46,7 @@ console.debug( 'reset', symposium, this.work, this.$location.hashPath ); var l = this.$location; this.work.$save(function(work){ l.hashPath = work._id; + work._changes = -1; // it seems that save call issues one ng:eval }); } }; @@ -55,7 +56,7 @@ console.debug( 'reset', symposium, this.work, this.$location.hashPath );

Prijava rada

-
+

Vrsta rada:

Simpozij @@ -139,7 +140,7 @@ Organizator:
- + -- 2.20.1