The replacement you suggested fixes the problem!
Thanks for your immediate response,
-Markus
On Fre, 16 Jän 2015, Robert Hanson wrote:
> Here's the exact difference before and after loading JSmol in Firefox and
> Chrome:
>
> Firefox:
>
> new String("test").toString() === "test"
> [JSmol initializes]
> new String("test").toString() === "test"
>
>
> new String("test").toString() === "test"
> [JSmol initializes]
> new String("test").toString() !== "test"
>
> I found the bug in JSmol. In the mean time, if you want to check this,
> please replace in j2s/core/core.z.js:
>
> String.prototype.toString=function(){return this}
>
> with
>
> String.prototype.toString=function(){return this.valueOf()}
>
>
> Please let me know if that fixes the problem.
>
>
>
>
>
>
>
> On Fri, Jan 16, 2015 at 9:04 AM, Robert Hanson <[email protected]> wrote:
>
> > (so go into jqGrid and change that === to == )
> >
> > ???
> >
>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> Chair, Department 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
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> _______________________________________________
> Jmol-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers