Changeset 18487


Ignore:
Timestamp:
05/04/16 18:42:25 (8 years ago)
Author:
tbretz
Message:
Renamed the main onLoad for convenience (was used twice); added a possibilty to get the date fields work in non-supporting browsers as firefix; removed an obsolete read() function
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/www/schedule/index.js

    r18389 r18487  
    562562}
    563563
    564 function onLoad()
    565 {
    566     if (location.href.search('debug')==-1)
     564function onReady()
     565{
     566     if (location.href.search('debug')==-1)
    567567        $("#debug").hide();
     568
     569    /*---------------------------------------------------------------------------------------------
     570     Initialize jQuery datapicker (type='date' not supported by firefox)
     571     ----------------------------------------------------------------------------------------------*/
     572
     573     if ($('[type="date"]').prop('type') != 'date' )
     574        $('[type="date"]').datepicker();
    568575
    569576    /*---------------------------------------------------------------------------------------------
     
    571578     ----------------------------------------------------------------------------------------------*/
    572579
    573     $(document).ready(function(){$('[data-toggle="tooltip"]').tooltip();});
     580     //$(document).ready(function(){$('[data-toggle="tooltip"]').tooltip();});
     581     $('[data-toggle="tooltip"]').tooltip();
    574582
    575583    /*---------------------------------------------------------------------------------------------
     
    761769}
    762770
    763 $('document').ready(onLoad);
     771$('document').ready(onReady);
Note: See TracChangeset for help on using the changeset viewer.