sarbogast / grails-bootstrap-file-upload

Grails Plugin to integrate Sebastian Tschan's Jquery File Upload
http://grails.org/plugin/bootstrap-file-upload
Apache License 2.0
33 stars 25 forks source link

maxNumberOfFiles writes wrong number #14

Open klemensz opened 11 years ago

klemensz commented 11 years ago

When I specify for example maxNumberOfFiles="5" the Javascript code that will be generated is maxNumberOfFiles: 47. When I write maxNumberOfFiles="${2-3}" the the Javascript is correct maxNumberOfFiles: 5. When providing a number larger 9 an error is thrown.

Grails 2.2.1