xdan / datetimepicker

jQuery Plugin Date and Time Picker
https://xdsoft.net/jqplugins/datetimepicker/
MIT License
3.5k stars 1.52k forks source link

Dont work left and right arrow in block #209

Open anpleenko opened 9 years ago

anpleenko commented 9 years ago

Hi am found small bug http://jsfiddle.net/vaeum/r8v56drb/1/ dont work arrow in initialized plugin.

timer1 in not working timer2 working

Check demo in jsfiddle

timproDev commented 9 years ago

i just ran into the same issue

I had 2 selectors for one set of options. however, when i designated a separate function for each selector, the arrows right/left worked.

this is after very brief testing, but it seemed to work for now

ghost commented 9 years ago

@timproDev Any way you can elaborate on that. I attached the 'mousedown.xdsoft' event listener to each selector '.xdsoft_next' & '.xdsoft_prev' separately line: 1213 but that didn't work. I have noticed that the month will change if I click out of the browser window. I also tried @vaeum and created two instances of my date field, but that didn't fix it either.

lampslave commented 9 years ago

Looks like it was closed via 7c645e5

budfrogs commented 9 years ago

Until the fix is released based on the last post. I am using the ID instead of class and setting up a function for each ID.