Ticket #3050: 3050.diff
File 3050.diff, 625 bytes (added by , 19 years ago) |
---|
-
wp-includes/js/quicktags.js
380 380 function edInsertImage(myField) { 381 381 var myValue = prompt('Enter the URL of the image', 'http://'); 382 382 if (myValue) { 383 var myAlt = prompt('Enter a description of the image', ''); 383 384 myValue = '<img src="' 384 385 + myValue 385 + '" alt="' + prompt('Enter a description of the image', '') 386 + '" alt="' + myAlt 387 + '" title="' + myAlt 386 388 + '" />'; 387 389 edInsertContent(myField, myValue); 388 390 }