Hi, the javascript compression fails on my bugfix for Tobago 2: FileDrop did not work with multiple=false <https://issues.apache.org/jira/browse/TOBAGO-1989> with:
[INFO] Executed tasks [INFO] [INFO] --- exec-maven-plugin:1.1:exec (compress-standard) @ tobago-theme-standard --- [INFO] /home/weber/work/myfaces/tobago/tobago-2.x/tobago-theme/tobago-theme-standard/target/javascript-min/standard/script/tobago.min.js:1944: ERROR - Parse error. missing name after . operator [INFO] formData.delete(clientName); [INFO] ^ [INFO] here is the relevant code part: ------------------------------------------------------------------------- 1940 var formData = new FormData(Tobago.form); 1941 var fileData = form.data("tobago-file-drag-and-drop-files"); 1942 if (fileData && fileData.files.length > 0) { 1943 var clientName = fileData.name; 1944 formData.delete(clientName); 1945 for (var i = 0; i < fileData.files.length; i++) { 1946 var file = fileData.files[i]; 1947 1948 formData.append(clientName, file); 1949 } 1950 form.removeData("tobago-file-drag-and-drop-files"); 1951 } ------------------------------------------------------------------------- What is wrong in row 1944? (runs fine in uncompressed version) Regards, Volker Weber -- inexso - information exchange solutions GmbH Ofener Straße 30 | 26121 Oldenburg www.inexso.de