Plugin Directory

Changeset 476875


Ignore:
Timestamp:
12/17/2011 05:52:55 PM (14 years ago)
Author:
ciprian_vb
Message:

update 3.0.0.2

Location:
live-countdown-timer/trunk
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • live-countdown-timer/trunk/live-countdown-timer.php

    r476355 r476875  
    77  Author: Turcu Ciprian
    88  License: GPL
    9   Version: 3.0.0.1
     9  Version: 3.0.0.2
    1010  Author URI: http://www.chipree.com/
    1111
     
    3838        if ($lct_vArr['lct_datetime'] == "")
    3939            $lct_vArr['lct_datetime'] = "click here";
    40         if ($_POST) {
     40        if (!$_POST) {
    4141            ?>
    4242            <script type="text/javascript">
    43                 jQuery(document).ready(function($) {
    44                     $(".lct_dtp").live('hover',function(){
    45                         $(".lct_dtp").datetimepicker({
    46                             format:'m/d/Y',
    47                             hourGrid: 4,
    48                             minuteGrid: 10,
    49                             position: 'right',
    50                             onBeforeShow: function(){
    51                                 $(this).DatePickerSetDate($(this).val(), true);
    52                             }
    53                         });
     43                           
     44                jQuery(".lct_dtp").live('hover',function(){
     45                    jQuery(".lct_dtp").datetimepicker({
     46                        format:'m/d/Y',
     47                        hourGrid: 4,
     48                        minuteGrid: 10,
     49                        position: 'right',
     50                        onBeforeShow: function(){
     51                            $(this).DatePickerSetDate($(this).val(), true);
     52                        }
    5453                    });
    55                 });                                                                                                                             
     54                });
    5655            </script>
    5756
     
    178177    wp_register_script('jqueryuitimepickeraddon', plugins_url('scripts/jquery-ui-timepicker-addon.js', __FILE__));
    179178    wp_register_script('jqueryuisliderAccess', plugins_url('scripts/jquery-ui-sliderAccess.js', __FILE__));
    180     wp_register_script('lct_admin_script', plugins_url('admin_script.js', __FILE__));
    181179
    182180    //wp_enqueue_script('jqueryx');
     
    184182    wp_enqueue_script('jqueryuitimepickeraddon');
    185183    wp_enqueue_script('jqueryuisliderAccess');
    186     wp_enqueue_script('lct_admin_script');
    187184}
    188185
  • live-countdown-timer/trunk/readme.txt

    r476355 r476875  
    3434
    3535== Changelog ==
     36
     37= 3.0.0.2 =
     38
     39A small but important javascript error in admin fixed.
     40
    3641= 3.0.0.1 =
    3742
Note: See TracChangeset for help on using the changeset viewer.