Changes between Version 3 and Version 4 of Ticket #5585, comment 5


Ignore:
Timestamp:
Oct 7, 2013, 8:01:03 PM (9 years ago)
Author:
Scott González
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5585, comment 5

    v3 v4  
    1 @mikesherov - This needs to be re-opened, as this is still an issue with IE8 on version 1.10.3
    2 
    3 
    4 --JQuery workaround for IE
    5 
    6 
    7 {{{
    8 
    9 $(".ui-datepicker-trigger").on("click", function() {
    10         var self;
    11        
    12         if (navigator.userAgent.match(/msie/i)) {
    13                 var scrollTopValue = document.body.scrollTop || window.pageYOffset
    14                         || (document.body.parentElement
    15                         ?document.body.parentElement.scrollTop:
    16                         $(window).scrollTop());
    17                 self = $(this);
    18                 $("#ui-datepicker-div").hide();
    19                 setTimeout(function(){
    20                         $("#ui-datepicker-div").css({
    21                                 top: self.offset().top + scrollTopValue + 25
    22                         });
    23                         $("#ui-datepicker-div").show();
    24                 }, 0);
    25         }
    26 });
    27 }}}
    28  
     1@mikesherov - This needs to be re-opened, as this is still an issue with IE8 on version 1.10.3