From 2b49e9b198395cf4303ef0071bb84acefabb9683 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sun, 7 Nov 2010 22:23:38 +0100 Subject: [PATCH] added $id to symposium.works --- templates/conference/Registration.html.ep | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/conference/Registration.html.ep b/templates/conference/Registration.html.ep index c8145b3..041b144 100644 --- a/templates/conference/Registration.html.ep +++ b/templates/conference/Registration.html.ep @@ -74,6 +74,7 @@ console.debug( 'reset', current_symposium, this.registration, this.$location.has self.symposium = new self.Symposium( registration.symposium ); self.symposium.works = []; } + registration.work.$id = registration.$id; // preserve $id self.symposium.works[ registration.symposium.work_nr - 1 ] = registration.work; console.debug('save_symposium', self.symposium ); self.symposium.$save(); @@ -272,7 +273,10 @@ Organizer:
Works which are part of this symposium:
    -
  1. {{w.title}}
  2. +
  3. +{{w.title}} +{{w.title}} +
-- 2.20.1