From 2393a3b201b612154ae43217b0a5ccf6dca5e530 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Tue, 9 Nov 2010 15:10:18 +0100 Subject: [PATCH] fix IE errors with extra , at end of structures --- templates/conference/Registration.html.ep | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/conference/Registration.html.ep b/templates/conference/Registration.html.ep index bf61dda..21c2ae5 100644 --- a/templates/conference/Registration.html.ep +++ b/templates/conference/Registration.html.ep @@ -5,15 +5,15 @@ if (typeof (console) === 'undefined') console = { debug: function() {} }; // moc function Registration($resource){ this.master = { person: { - name: '', surname: '', inst: '', email: '', + name: '', surname: '', inst: '', email: '' }, type: 'participant', work: { title: '', abstract: '', - authors:[ { name:'', surname:'', inst:'', email:'' } ], + authors:[ { name:'', surname:'', inst:'', email:'' } ] }, - symposium: { organizers: [ {name:'', surname:'', inst:'', email:'' } ], work_nr: 1, }, + symposium: { organizers: [ {name:'', surname:'', inst:'', email:'' } ], work_nr: 1 } }; this.Registration = $resource( '/data/conference/Registration/:id', { id:'' } ); this.Symposium = $resource( '/data/conference/Symposium/:id', { id:'' } ); @@ -79,7 +79,7 @@ console.debug('save_symposium', self.symposium ); self.last_saved = angular.copy(registration); }); - }, + } }; angular.validator.max_length = function(input, len) { -- 2.20.1