Changeset 6312
- Timestamp:
- 11/04/2007 06:23:03 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/js/edit-comments.js
r6213 r6312 4 4 var dimAfter = function( r, settings ) { 5 5 var a = $('#awaitmod'); 6 a.html( parseInt(a.html(),10) + ( $('#' + settings.element).is('.' + settings.dimClass) ? 1 : -1 ) ); 6 var n = parseInt(a.html(),10) + ( $('#' + settings.element).is('.' + settings.dimClass) ? 1 : -1 ); 7 a.html( n.toString() ); 7 8 } 8 9 9 10 var delAfter = function( r, settings ) { 10 11 var a = $('#awaitmod'); 11 if ( $('#' + settings.element).is('.unapproved') && parseInt(a.html(),10) > 0 ) { 12 a.html( parseInt(a.html(),10) - 1 ); 12 if ( a.parent('.current').size() || $('#' + settings.element).is('.unapproved') && parseInt(a.html(),10) > 0 ) { 13 var n = parseInt(a.html(),10) - 1; 14 a.html( n.toString() ); 13 15 } 14 16 -
trunk/wp-includes/script-loader.php
r6303 r6312 118 118 $this->add( 'admin-categories', '/wp-admin/js/categories.js', array('wp-lists'), '20071031' ); 119 119 $this->add( 'admin-custom-fields', '/wp-admin/js/custom-fields.js', array('wp-lists'), '20070823' ); 120 $this->add( 'admin-comments', '/wp-admin/js/edit-comments.js', array('wp-lists'), '2007 0822' );120 $this->add( 'admin-comments', '/wp-admin/js/edit-comments.js', array('wp-lists'), '20071104' ); 121 121 $this->add( 'admin-posts', '/wp-admin/js/edit-posts.js', array('wp-lists'), '20071023' ); 122 122 $this->add( 'admin-users', '/wp-admin/js/users.js', array('wp-lists'), '20070823' );
Note: See TracChangeset
for help on using the changeset viewer.