Changeset 31034 for trunk/src/wp-admin/press-this.php
- Timestamp:
- 01/03/2015 05:45:17 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/press-this.php
r30438 r31034 110 110 case 'video': ?> 111 111 <script type="text/javascript"> 112 /* <![CDATA[ */113 112 jQuery('.select').click(function() { 114 113 append_editor(jQuery('#embed-code').val()); … … 120 119 jQuery('#extra-fields').html(''); 121 120 }); 122 /* ]]> */123 121 </script> 124 122 <div class="postbox"> … … 133 131 case 'photo_thickbox': ?> 134 132 <script type="text/javascript"> 135 /* <![CDATA[ */136 133 jQuery('.cancel').click(function() { 137 134 tb_remove(); … … 140 137 image_selector(this); 141 138 }); 142 /* ]]> */143 139 </script> 144 140 <h3 class="tb"><label for="tb_this_photo_description"><?php _e('Description') ?></label></h3> … … 300 296 <title><?php _e('Press This') ?></title> 301 297 <script type="text/javascript"> 302 //<![CDATA[303 298 addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}}; 304 299 var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>', pagenow = 'press-this', isRtl = <?php echo (int) is_rtl(); ?>; 305 300 var photostorage = false; 306 //]]>307 301 </script> 308 302
Note: See TracChangeset
for help on using the changeset viewer.