Welcome Guest Search | Active Topics | Sign In | Register

Editor / Dialog script error Options
Duane
Posted: Wednesday, January 4, 2012 3:06:32 PM
Rank: Advanced Member
Groups: Member

Joined: 9/4/2007
Posts: 114
I am seeing this error when opening a Dialog containing an Editor control:

Code: JavaScript
Microsoft JScript runtime error: Unable to set value of the property 'height': object is null or undefined


The script it is pointing to this line in one of the EO script files:

Code: JavaScript
if(!EO847.f.abyc(b))b.style.height="1px";}


The code : b.style.height="1px"; is highlighted. The dialog still opens, but throws this error a few times before fully instantiating.

The ScriptMananger is included on the page and EO.Web assembly is declared.
It seems to be related to the Editor, since I have other dialog controls that do not contain an editor that do not throw this error. What would / could cause this error?

Thanks

eo_support
Posted: Wednesday, January 4, 2012 4:03:58 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Please update to the latest build. I believe this an issue related to new browser (should be IE 9) and it has been fixed.

Thanks!
Duane
Posted: Thursday, January 5, 2012 9:52:45 AM
Rank: Advanced Member
Groups: Member

Joined: 9/4/2007
Posts: 114
Interesting. I have pages with the dialog/editor that use a masterpage but do not exhibit this error.
The one that is throwing the error is a stand-alone page ( no masterpage ).

We are currently running 8.0.47.2 build. Our license file is version="8". The new version I just downloaded is 9.0.37.2. Will we need a new license for this version?

Thanks
Duane
Posted: Thursday, January 5, 2012 5:39:29 PM
Rank: Advanced Member
Groups: Member

Joined: 9/4/2007
Posts: 114
Ok, the new build seems to have fixed the script error.

However, is there a reason the Editor horizontal and vertical scrollbars are now on even when there is little or no content in the editor? This started with the new 2011 build.

I have the editor in a dialog. Dialog is set to a width of 650px and height of 380px. Changing either the dialog or the editor size has no affect on the scrollbars. I don't see any properties of the editor to suggest the scrollbars are able to be turned off, or on.

Thanks
eo_support
Posted: Thursday, January 5, 2012 6:46:57 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

That's just IE 9. The code are the same but IE 9 always shows the scroll bars no matter what and we couldn't figure out a way to make it not to. All other browser should work fine. Your previous build might appear to work for IE 9 without scroll bars but that's just because the code crashed before it finishes all the initialization code.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.