Changeset 18518


Ignore:
Timestamp:
06/22/16 13:28:58 (8 years ago)
Author:
tbretz
Message:
By mistake the calender still opened in chrome and in firefox the date format was not consistent with the expectation in a text field... fixed.
File:
1 edited

Legend:

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

    r18511 r18518  
    572572
    573573     if ($('input').prop('type') != 'date' )
    574         $('[type="date"]').datepicker();
    575 
     574     {
     575        var date_opt =
     576        {
     577            dateFormat: 'yy-mm-dd',
     578            showButtonPanel: true,
     579            showOtherMonths: true,
     580            selectOtherMonths: true,
     581            autoSize: true,
     582        }
     583
     584        $('[type="date"]').datepicker(date_opt);
     585     }
     586     
    576587    /*---------------------------------------------------------------------------------------------
    577588     Initialize jQuery tooltips
Note: See TracChangeset for help on using the changeset viewer.