Ticket #6813: press-this-6-19-9pm.diff
| File press-this-6-19-9pm.diff, 1.1 kB (added by noel, 6 months ago) |
|---|
-
press-this.php
old new 182 182 183 183 if($_REQUEST['ajax'] == 'photo_js') { ?> 184 184 185 tb_init('a.thickbox, area.thickbox, input.thickbox'); //pass where to apply thickbox185 //tb_init('a.thickbox, area.thickbox, input.thickbox'); //pass where to apply thickbox 186 186 187 187 function image_selector() { 188 188 desc = jQuery('#this_photo_description').val(); … … 228 228 cache : false, 229 229 async : false, 230 230 data: "ajax=photo_images&u=<?php echo urlencode($url); ?>", 231 dataType : "script" 231 dataType : "script", 232 232 }).responseText); 233 233 234 234 for (i = 0; i < my_src.length; i++) { … … 251 251 } 252 252 253 253 if (!skip) strtoappend += '<a href="?ajax=thickbox&i=' + img.src + '&u=<?php echo $url; ?>&height=400&width=500" title="" class="thickbox"><img src="' + img.src + '" ' + img_attr + '/></a>'; 254 255 254 } 256 255 jQuery('#img_container').html(strtoappend); 256 tb_init('a.thickbox, area.thickbox, input.thickbox'); 257 257 258 258 <?php die; } 259 259
