adjust datepicker to work in settings-list (holidays)

This commit is contained in:
Felix Niklas 2015-11-23 14:34:47 +01:00
parent 809e28c69d
commit 62bdc30d57

View file

@ -25,6 +25,7 @@
Zammad Edits: Zammad Edits:
- fix todayBtn toggle of display none and block: toggleClass instead - fix todayBtn toggle of display none and block: toggleClass instead
- allow custom template as options parameter - allow custom template as options parameter
- fix that place method doesn't think that the container is the window, but rather the real window is the window
*/ */
@ -685,7 +686,7 @@
calendarHeight = this.picker.outerHeight(), calendarHeight = this.picker.outerHeight(),
visualPadding = 10, visualPadding = 10,
container = $(this.o.container), container = $(this.o.container),
windowWidth = container.width(), windowWidth = $(window).width(),
scrollTop = container.scrollTop(), scrollTop = container.scrollTop(),
appendOffset = container.offset(); appendOffset = container.offset();