# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: C:\Users\obougeois\Documents\NetBeansProjects\CMS\api\src\main\java\org\hippoecm\frontend\plugins\yui\upload\multifile # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: MultiFileUploadFieldCustomized.js --- MultiFileUploadFieldCustomized.js Remotely Modified (Based On HEAD) +++ MultiFileUploadFieldCustomized.js Locally Modified (Based On LOCAL) @@ -104,6 +104,13 @@ if (element.multi_selector.submitAfterSelect) { element.multi_selector.form.submit(); } else { + // Workaround for issue CMS7-6415: IE8: Extra empty files... + if (YAHOO.env.ua.ie == '8') { + var filename = this.multi_selector.parseFilename(this.value); + if (filename == '' || filename != '' && YAHOO.lang.trim(filename) == '') { + return; + } + } \ No newline at end of file // New file input var new_element = document.createElement('input');