- Timestamp:
- Mar 22, 2011, 9:56:05 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/importer/ImporterController.groovy
r1655 r1656 123 123 // that string 124 124 flash.importer_params.importfile = params.importfile.replace('existing*', '') 125 flash.importer_params.importfile = new XmlSlurper().parseText(flash.importer_params.importfile[flash.importer_params.importfile.indexOf('<pre')..-1]).toString() 125 126 126 127 success() … … 131 132 flash.importer_params = params 132 133 flash.importer_params.importfile = params.importfile.replace('existing*', '') 134 flash.importer_params.importfile = new XmlSlurper().parseText(flash.importer_params.importfile[flash.importer_params.importfile.indexOf('<pre')..-1]).toString() 133 135 134 136 if (params.entity) {
Note: See TracChangeset
for help on using the changeset viewer.