Opened 12 years ago

Closed 12 years ago

Last modified 8 years ago

#4759 closed defect (fixed)

dijit.form.DateTextBox in IE6 when push escape will alert error

Reported by: guest Owned by: Douglas Hays
Priority: blocker Milestone: 1.0
Component: Dijit - Form Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

Web Browser(version) :InternetExplorer(6.0.2800.1106)
Dojo Widget :dijit.form.DateTextBox
File :dijit/tests/form/Form.html

I click the DateTextBox,it shows the calendar,
and then Onclick calendar's blank space,
and then Push escape key.
it will alert error in IE6!!

Attachments (2)

Form.png (39.5 KB) - added by guest 12 years ago.
DateTextBox_error2.png (24.1 KB) - added by guest 12 years ago.

Download all attachments as: .zip

Change History (13)

Changed 12 years ago by guest

Attachment: Form.png added

comment:1 Changed 12 years ago by Adam Peller

Owner: set to Douglas Hays

comment:2 Changed 12 years ago by haysmark

He's still on vacation I thought . . .

comment:3 Changed 12 years ago by Douglas Hays

Resolution: worksforme
Status: newclosed

It seems to be working for me. Please recreate with the nightly build. I loaded http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/form/Form.html in IE6 (winxp pro sp2). I clicked in the datetextbox1 input box and the calendar popup appeared. I clicked in the region between the left arrow and the centered month text. Then I pressed Escape. Nothing happened. The widget continued to function properly.

comment:4 in reply to:  3 Changed 12 years ago by guest

Resolution: worksforme
Status: closedreopened

Replying to doughays:

Then I pressed Escape. Nothing happened. The widget continued to function properly.


plese reference : !DateTextBox_error2.png

OS(version):Microsoft Windows2000(5.002195 Service Pack4)
Web Browser(version) :InternetExplorer(6.0.2800.1106)

OS(version):Microsoft WindowsXP Professional(Version2002 Service Pack2)
Web Browser(version) :InternetExplorer(6.0.2900.2180.xpsp_sp2_gdr.070227-2254)

Changed 12 years ago by guest

Attachment: DateTextBox_error2.png added

comment:5 Changed 12 years ago by Douglas Hays

I'm still unable to recreate any problem. Can you please translate the error messages into English? Also, can you turn off any input methods to see if they are the problem?

comment:6 Changed 12 years ago by bill

BTW, the error just says "calling non-existant method or property on object". Typically vague. We need the debugger to see what method they were trying to call. Maybe it is the IME like you said (on my system clicking switch the input mode from hiragana to romaji, and then hitting esc doesn't do anything, but at least there isn't an exception).

comment:7 Changed 12 years ago by haysmark

Set isDebug to false to reproduce.

comment:8 Changed 12 years ago by haysmark

Also affects IE7.

comment:9 Changed 12 years ago by Douglas Hays

_base/popup.js calls onCanel w/o checking for existence

handlers.push(dojo.connect(wrapper, "onkeypress", this, function(evt){
        if(evt.keyCode == dojo.keys.ESCAPE){
                args.onCancel();

comment:10 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: reopenedclosed

(In [11113]) Fixes #4759. Add onCancel attribute to popup object for datetextbox.

comment:11 Changed 8 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.