Bob,
No, I changed it in JSmolCore.
I assume this is the related code in JSmol.min.js (below), but I'm afraid I
cannot follow the compressed code.
This is not a crucial issue. I can wait for a version change.
a.$appEvent(c,"appletdiv","drop",function(d){d=d.originalEvent;d.stopPropagation();d.preventDefault();var
e=ev.dataTransfer.files[0];if(null==e)try{e=""+ev.dataTransfer.getData("text"),(0==e.indexOf("file:/")||0==e.indexOf("http:/"))&&c._script('load
"'+e+'"')}catch(g){}else{var k=new
FileReader;k.onloadend=function(k){if(k.target.readyState==FileReader.DONE){var
g="cache://DROP_"+e.name
;k=a._toBytes(k.target.result);c._applet.viewer.cacheFileByName("cache://DROP_*",
!1);"JSV"==c._viewType||g.endsWith(".jdx")?a.Cache.put(g,k):c._applet.viewer.cachePut(g,k);(k=a._jsGetXY(c._canvas,d))&&(!c._applet.viewer.setStatusDragDropped||c._applet.viewer.setStatusDragDropped(0,k[0],k[1],g))&&c._applet.viewer.openFileAsyncSpecial(g,1)}};k.readAsArrayBuffer(e)}})}})(Jmol,jQuery);Jmol._debugCode=!1;
Otis
On Mon, Jul 7, 2014 at 8:13 AM, Robert Hanson <hans...@stolaf.edu> wrote:
>
> It was just that the variables "ev" and "e" were messed up. Sure you are
> working in JSmol.min.js? or JSmol.min.nojq.js?
>
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
--
Otis Rothenberger
o...@chemagic.com
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users