From 061cd274629a16583ac6a5a287b1448ef7b2bccc Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Wed, 3 Nov 2010 23:26:59 +0100 Subject: [PATCH] prefill all fields with invalid empty values this will reset form correctly --- templates/conference/Work.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/conference/Work.html.ep b/templates/conference/Work.html.ep index 477df51..1870265 100644 --- a/templates/conference/Work.html.ep +++ b/templates/conference/Work.html.ep @@ -8,7 +8,7 @@ function Work($resource){ title: '', abstract: '', authors:[ { name:'', surname:'', inst:'', email:'' } ], - symposium: { authors: [ {name:''} ] }, + symposium: { authors: [ {name:'', surname:'', inst:'', email:''} ] }, }; this.Work = $resource( '/data/conference/Work/:_id', { _id:'' } ); this.reset(); -- 2.20.1