Changeset 2350497
- Timestamp:
- 08/01/2020 04:18:08 PM (6 years ago)
- Location:
- dashpress/trunk
- Files:
-
- 4 edited
-
dashpress.php (modified) (1 diff)
-
dbp-admin/includes/admin_footer.php (modified) (1 diff)
-
dbp-admin/js/dbp.js (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dashpress/trunk/dashpress.php
r2306674 r2350497 7 7 Requires at least: 5.0 8 8 Tested up to: 5.4 9 Version: 5.0 9 Version: 5.0.1 10 10 Author URI: http://www.mailpress.org 11 11 */ -
dashpress/trunk/dbp-admin/includes/admin_footer.php
r2306674 r2350497 16 16 { 17 17 ?> 18 <label for="<?php echo $dbp_box['id']; ?> -dbp"><input type="checkbox"<?php checked( ( $dbp_box['checked'] == '1' ), true ); ?> value="<?php echo esc_attr( $dbp_box['id'] ); ?>" id="<?php echo $dbp_box['id']; ?>_dbp" name="<?php echo $dbp_box['id']; ?>_dbp" class="hide-dashbox-tog" /><?php echo $dbp_box['title']; ?></label>18 <label for="<?php echo $dbp_box['id']; ?>_dbp"><input type="checkbox"<?php checked( ( $dbp_box['checked'] == '1' ), true ); ?> value="<?php echo esc_attr( $dbp_box['id'] ); ?>" id="<?php echo $dbp_box['id']; ?>_dbp" name="<?php echo $dbp_box['id']; ?>_dbp" class="hide-dashbox-tog" /><?php echo $dbp_box['title']; ?></label> 19 19 <?php 20 20 } -
dashpress/trunk/dbp-admin/js/dbp.js
r2306674 r2350497 235 235 236 236 // select/deselect a widget 237 jQuery( '.hide-dashbox-tog' ).c lick( function() {237 jQuery( '.hide-dashbox-tog' ).change( function() { 238 238 239 239 var box = jQuery( this ).val(); 240 var checked = ( jQuery( this ). attr( 'checked' )) ? 1 : 0;240 var checked = ( jQuery( this ).prop( 'checked' ) == true ) ? 1 : 0; 241 241 242 242 var parms = { action: 'dbp_ajax', dbp_action: 'update_visible', checked: checked , box: box }; -
dashpress/trunk/readme.txt
r2311234 r2350497 4 4 Tags : Feed, Aggregator, SimplePie, Widget, Dashboard, Wordpress, Plugin, Management 5 5 Requires at least : 5.0 6 Tested up to : 5. 46 Tested up to : 5.5 7 7 Stable tag : 5.0 8 8 Requires PHP : 7.0 … … 55 55 == Changelog == 56 56 57 = 5.0.1 = 58 59 2020/08/01 bug fix in dashboard options 60 * label id fixed 61 * checkbox checked detection reviewe 62 57 63 = 5.0 = 58 64
Note: See TracChangeset
for help on using the changeset viewer.