customFormData parameter editMode was hard-coded. Needed to use the variable

This commit is contained in:
tworrall 2011-12-07 21:49:30 +00:00
parent 5e40a08243
commit 330f738c94

View file

@ -140,7 +140,7 @@ var customFormData = {
sparqlQueryUrl: '${urls.base}${sparqlQueryUrl}', sparqlQueryUrl: '${urls.base}${sparqlQueryUrl}',
acUrl: '${urls.base}${acUrl}', acUrl: '${urls.base}${acUrl}',
acType: 'http://vivoweb.org/ontology/core#Grant', acType: 'http://vivoweb.org/ontology/core#Grant',
editMode: 'add', editMode: '${editMode}',
submitButtonTextType: 'compound', submitButtonTextType: 'compound',
typeName: 'Grant' typeName: 'Grant'
}; };