yes, that's probably it. So you are OK. It's an issue with all MSIE
versions.
On Wed, Nov 27, 2013 at 8:52 AM, Rolf Huehne <[email protected]> wrote:
> On 11/27/2013 03:59 AM, Robert Hanson wrote:
> > Rolf, I just found a bug in the GUI for JSmol that made it so that MSIE
> > executed commands in the search box twice -- I think it may be the same
> > with JenaLib:
> >
> > <input class="jmol" type='text' id='jmol_command' size='30'
> > onKeypress='if (event.keyCode == 13) {idbSubmitScript()}'>
> >
> > <input class="jmol" id="run_jmol_command" type="button"
> > onClick='idbSubmitScript()' value="run">
> >
> >
> >
> > At least for me, a combination just like that on jsmol.htm fired both
> > onKeyPress and onClick -- same command twice -- in MSIE specifically. So
> > all my hand-entered commands were being executed twice!
> >
> > At least for me, I had to change that onKeyPress to:
> >
> > onKeypress='if (event.keyCode == 13) {idbSubmitScript(); return false}
> >
> >
> > Nasty!
> >
> Bob, thank you for the hint.
> Which version of MSIE were you using on which windows version?
>
> I couldn't reproduce it in the 'Jena3D Viewer' with MSIE 10 and 11 on
> Win7 and MSIE 8 on WinXP.
> One difference I noticed between 'jsmol.htm' and the 'Jena3D Viewer' is
> that 'jsmol.htm' doesn't contain a '<form>' element while the '<input>'
> tag in the 'Jena3D Viewer' belongs to a '<form>' element with
> "action='javascript:'".
>
> Regards,
> Rolf
>
> --
>
> Rolf Huehne
> Postdoc
>
> Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
> Beutenbergstrasse 11
> 07745 Jena, Germany
>
> Phone: +49 3641 65 6205
> Fax: +49 3641 65 6210
> E-Mail: [email protected]
> Website: http://www.fli-leibniz.de
>
> Scientific Director: Prof. Dr. K. Lenhard Rudolph
> Head of Administration: Dr. Daniele Barthel
> Chairman of Board of Trustees: Dennys Klein
>
> VAT No: DE 153 925 464
> Register of Associations: No. 230296, Amtsgericht Jena
> Tax Number: 162/141/08228
>
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users