Welcome Guest Search | Active Topics | Sign In | Register

Dialog error: this.akj.type null Options
Chris
Posted: Monday, August 4, 2008 2:54:03 PM
Rank: Member
Groups: Member

Joined: 7/17/2008
Posts: 13
Working with a EO:Dialog, I want to give users the ability to hit the 'return' key to submit the dialog's content. However, when the user hits return, with IE, there is an error on the page. The error is " 'this.akj.type' is null or not an object". Is this something EO is handling?

Maybe I need to set a variable/function to handle the carriage return?


-chris
eo_support
Posted: Monday, August 4, 2008 3:35:26 PM
Rank: Administration
Groups: Administration

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

What you described is a bug. The dialog supposes to intercept enter key to trigger AcceptButton if AcceptButton is set, otherwise it does nothing. However it appears that if AcceptButton is not set, you will get an error. We will get that fixed as soon as possible.

Thanks

Chris
Posted: Tuesday, August 5, 2008 7:03:32 AM
Rank: Member
Groups: Member

Joined: 7/17/2008
Posts: 13
I noticed that my AcceptButton was set to a button that I had renamed. If possible, a compile error/warning would be wonderful.

Setting the AcceptButton to the correct name, solved my problem.

-chris
eo_support
Posted: Tuesday, August 5, 2008 7:10:11 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
A complie error is not possible, but a runtime error (an exception) can be considered. That would be much better than throwing out a mysterious JavaScript error.


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.