Title: Message Title
|
|
Apologies for my ignorance here. So I think it is intentional that clicking on the label should initiate the onclick event, the problem is that clicking on the button does not. In fact if you click on the icon within the button it does work. So the question is why does only the icon generate the onclick? I suspect it may be the way the 'input' element is decorated in this line in choose-file.jsp... $('#tfile').wrap('<span id="spanFile" class="fileinput-button btn btn-success col-md-2"><span class="glyphicon glyphicon-folder-open"></span> <fmt:message key="jsp.submit.choose-file.upload-ajax.button.select-file"/></span>'); This results in html that looks like... <span id="spanFile" class="fileinput-button btn btn-success col-md-2"><span class="glyphicon glyphicon-folder-open"><input size="40" name="file" id="tfile" type="file"></span> Select a file...</span> Should the 'input' element be within the span for the icon? I could well be on totally the wrong track here. Any help welcome. Cheers.
|
|
|
|
|
The 'upload a file' button doesn't seem to do anything in the new JSPUI on IE10 and I believe Chrome, works fine with Firefox. I am investigating but if anyone else finds an answer first please post it here. Thanks, Robin.
|
|
|
|
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel