Changeset 476875
- Timestamp:
- 12/17/2011 05:52:55 PM (14 years ago)
- Location:
- live-countdown-timer/trunk
- Files:
-
- 1 deleted
- 2 edited
-
admin_script.js (deleted)
-
live-countdown-timer.php (modified) (4 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
live-countdown-timer/trunk/live-countdown-timer.php
r476355 r476875 7 7 Author: Turcu Ciprian 8 8 License: GPL 9 Version: 3.0.0. 19 Version: 3.0.0.2 10 10 Author URI: http://www.chipree.com/ 11 11 … … 38 38 if ($lct_vArr['lct_datetime'] == "") 39 39 $lct_vArr['lct_datetime'] = "click here"; 40 if ( $_POST) {40 if (!$_POST) { 41 41 ?> 42 42 <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 } 54 53 }); 55 }); 54 }); 56 55 </script> 57 56 … … 178 177 wp_register_script('jqueryuitimepickeraddon', plugins_url('scripts/jquery-ui-timepicker-addon.js', __FILE__)); 179 178 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__));181 179 182 180 //wp_enqueue_script('jqueryx'); … … 184 182 wp_enqueue_script('jqueryuitimepickeraddon'); 185 183 wp_enqueue_script('jqueryuisliderAccess'); 186 wp_enqueue_script('lct_admin_script');187 184 } 188 185 -
live-countdown-timer/trunk/readme.txt
r476355 r476875 34 34 35 35 == Changelog == 36 37 = 3.0.0.2 = 38 39 A small but important javascript error in admin fixed. 40 36 41 = 3.0.0.1 = 37 42
Note: See TracChangeset
for help on using the changeset viewer.