Bug Tracker

Modify

Ticket #1965 (closed bug: wontfix)

Opened 6 years ago

Last modified 5 years ago

Error with Datepicker and text field clones on Firefox

Reported by: ultimas Owned by: iMarc
Priority: major Milestone: 1.2.1
Component: ui Version: 1.2.1
Keywords: datepicker clone focus Cc:
Blocking: Blocked by:

Description

When I clone a datepicker text field , I get the following error when the clone gets the focus.

Error: -inst has no properties

Line of the error pointed out by firebug: -var beforeShow = inst._get('beforeShow'); -ui.datepicker.yui... (line 393)

Only happens in Firefox. I'm using the version 3.2

Change History

comment:1 Changed 6 years ago by paul

  • Owner set to iMarc

comment:2 Changed 5 years ago by kbwood

Can you provide the code for or a URL to a page that demonstrates the problem?

comment:3 Changed 5 years ago by ultimas

sorry, here is a simple example:  http://autodoc3.tempsite.ws/test/ui.php

comment:4 Changed 5 years ago by kbwood

The datepicker adds a _calId attribute to the input field to link it to the internal instance and settings. This attribute is not being cloned for some reason and needs to be copied manually following the clone process.

comment:5 Changed 5 years ago by kbwood

  • Status changed from new to closed
  • Resolution set to wontfix

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.