File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
omod/src/main/webapp/tags Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 6161
6262 < c: if test= " ${ not empty initialValue } " >
6363 // fetch the concept object they passed the value in of and do the normal "select" stuff
64- DWRConceptService .getConcept (" ${ initialValue } " , function (concept ) { func${escapedFormFieldId}AutoCompleteOnSelect (concept); });
64+
65+ DWRConceptService .getConcept (convert (" ${ initialValue } " ), function (concept ) { func${escapedFormFieldId}AutoCompleteOnSelect (concept); });
6566 < / c: if >
6667
6768 < c: if test= " ${ not empty showAnswers } " >
7677
7778 })
7879
80+ function convert (conc ){
81+ return conc .replace (/ [^ \d. ] / g ,' ' );
82+ }
83+
7984 function func${escapedFormFieldId}AutoCompleteOnSelect (concept , item ) {
8085
8186 var conceptId = concept ? concept .conceptId : null
You can’t perform that action at this time.
0 commit comments