I have located the offended line in the file dhtml_history.js. It is
line 664 in my copy and the last line below. The document.write
crashes IE6:

              var formID = "rshStorageForm";
               var textareaID = "rshStorageField";
               var formStyles = this.debugMode ?
historyStorage.showStyles : historyStorage.hideStyles;
               var textareaStyles = (historyStorage.debugMode
                       ? 'width: 800px;height:80px;border:1px solid
black;'
                       : historyStorage.hideStyles
               );
               var textareaHTML = '<form id="' + formID + '" style="'
+ formStyles + '">'
                       + '<textarea id="' + textareaID + '" style="' +
textareaStyles + '"></textarea>'
               + '</form>';
               document.write(textareaHTML);


I'm surprised nobody else has this problem? I have tons of users who
only use IE 6...
I'll try to contact the author of dhtml_history.js...


Kevin

On Feb 11, 11:28 am, "[email protected]" <[email protected]> wrote:
> Hi,
>   We upgraded to rails 2.2 and have upgraded activescaffold as well.
> we installed activescaffold using this command:
>
> script/plugin install git://github.com/activescaffold/active_scaffold.git
> -r rails-2.2 --force
>
> However, when I open our site in IE 6, the browser crashes with one of
> those "Internet Explorer has encountered a problem and needs to
> close." I commented out the active scaffold active_scaffold_includes
> comand and IE does not crashes. Then I went line by line in what is
> included and have discovered if I do not include dhtml_history.js, IE
> does not crash.
>
> Has anyone else encountered this problem? Is dhtml_history.js needed?
>
> Kevin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to