|
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
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,193
|
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
|
|
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
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,193
|
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.
|
|