google-code-export / calendardateselect

Automatically exported from code.google.com/p/calendardateselect
Other
0 stars 0 forks source link

line 75 throws error when input is sent as element for calendar cration #104

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. send an input element to initialization
2. initialize calendar

What is the expected output? What do you see instead?
expected output: calendar below the input element.  instead calendar
doesn't show up, error is thrown instead: with down

What version of the product are you using? On what operating system?
1.10, Windows XP SP 2 FF, IE7, IE6

Please provide any additional information below.
I was able to fix the problem and maintain the intended functionality by
replacing line 75 with the following:

try {
    if (down = this.target_element.down("INPUT")) this.target_element = down;
} catch (err) {
    this.target_element = this.target_element;
}

Original issue reported on code.google.com by matthews...@gmail.com on 15 Apr 2008 at 4:37

GoogleCodeExporter commented 9 years ago
Try 1.10.5

Original comment by timchar...@gmail.com on 15 Apr 2008 at 4:41