Changeset 20542 for branches/3.3/wp-admin/press-this.php
- Timestamp:
- 04/19/2012 09:58:20 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/wp-admin/press-this.php
r19668 r20542 391 391 jQuery('.close').click(function() { 392 392 jQuery('#extra-fields').hide(); 393 jQuery('body').append( jQuery('#photo-add-url-div') );394 393 jQuery('#extra-fields').html(''); 395 394 }); 396 395 jQuery('.refresh').click(function() { 397 396 photostorage = false; 398 jQuery('body').append( jQuery('#photo-add-url-div') );399 397 show('photo'); 400 398 }); 401 399 jQuery('#photo-add-url').click(function(){ 402 var container = jQuery('#img_container'); 403 404 if ( container.children('#photo-add-url-div:visible').length ) { 405 container.children('a').show(); 406 jQuery('#photo-add-url-div').hide(); 407 } else { 408 container.children('a').hide(); 409 container.append( jQuery('#photo-add-url-div').show() ); 410 } 400 var form = jQuery('#photo-add-url-div').clone(); 401 jQuery('#img_container').empty().append( form.show() ); 411 402 }); 412 403 jQuery('#waiting').hide();
Note: See TracChangeset
for help on using the changeset viewer.