Well, I see this in the Jmol console after clicking the History button:

set zoomLarge off; zap; set echo middle center; font echo 20; color echo
yellow; echo Pulsa sobre un botón | en el panel de la derecha; ;zap; set
echo middle center; color echo white; echo cargando el modelo...;
refresh;set hermiteLevel -4; script lisozima_j.spt

set zoomLarge off; zap; set echo middle center; font echo 20; color echo
yellow; echo Pulsa sobre un botón | en el panel de la derecha; ;zap; set
echo middle center; color echo white; echo cargando el modelo...;
refresh;set hermiteLevel -4; script lisozima_j.spt

Nonetheless, it is not running your entire script twice. You can see from
the browser developer console that the pdb file is only loaded once.
(Presuming you see that as well.) So it appears to have something minor to
do with how the history is being saved.

Angel, please upgrade to
*http://chemapps.stolaf.edu/jmol/zip/jmol-14.4.1_2016.01.09.zip
<http://chemapps.stolaf.edu/jmol/zip/jmol-14.4.1_2016.01.09.zip>* so that
we can see if this persists. That upgrade is more efficient in the initial
loading phase.

This is a bit difficult for me to debug, as I am not seeing it at chemapps,
and
it is during page loading. You might have to do some of that yourself. This
call placed in JSmol.min.js might be useful:

replace

this._applet.script(d)

with

alert(["_script",d, Clazz.getStackTrace()]);this._applet.script(d)

That would see why/when the applet script engine is being called twice, if
it is.

Also, Angel, in molec.js, could you please change this:

var debugJSmol = false;

to

var debugJSmol = (document.location.search.indexOf("debugJSmol") >= 0);


That would help us track this down.

Bob
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to