Dear all,

There are probably not many who might encounter this as a problem as the 
combination of D2W and IE and javascript is less likely. However, I can see it 
might appear if you use ERModernLook’s ERMODTabInspectPage as it looks as if it 
would be subject to the same problem.

Essentially, I was struggling with Internet Explorer ignoring AjaxObserveField 
and AjaxUpdateContainers. I finally tracked it down to a syntax error in 
prototype.js

  function evalScripts() {
    return this.extractScripts().map(function(script) { return eval(script); });
  }

It turns out that some of the generated javascript on the page was throwing a 
syntax error on IE - namely some of my D2W page templates that use the 
following to give focus to the first textfield of the D2W page:


Script: WOJavaScript {
        scriptString = tabScriptString;
        hideInComment = true;
}

The problem is fixed simply by changing hideInComment to false. No more 
Internet Explorer issues.

Unless you are using D2W, then you won’t see this issue but I suggest that 
ERMODTabInspectPage is modified as above to prevent others having the same 
issue.

Best wishes,

Mark
-- 
Dr. Mark Wardle
Consultant Neurologist, University Hospital Wales, Cardiff, UK
Email: [email protected] or [email protected]  Twitter: @mwardle
Telephone: 02920745274 (secretary) or facsimile: 02920744166





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to