From: Dobrica Pavlinusic Date: Tue, 9 Nov 2010 14:10:18 +0000 (+0100) Subject: fix IE errors with extra , at end of structures X-Git-Url: http://git.rot13.org/?p=angular-mojolicious.git;a=commitdiff_plain;h=2393a3b201b612154ae43217b0a5ccf6dca5e530 fix IE errors with extra , at end of structures --- 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) {