Ticket #1306: quicktags-dict-fix-rev2.patch
File quicktags-dict-fix-rev2.patch, 495 bytes (added by , 20 years ago) |
---|
-
quicktags.js
251 251 if (word == '') { 252 252 word = prompt('Enter a word to look up:', ''); 253 253 } 254 if (word != '') {254 if (word !== null && /^\w[\w ]*$/.test(word)) { 255 255 window.open('http://www.answers.com/' + escape(word)); 256 256 } 257 257 } … … 387 387 + '" />'; 388 388 edInsertContent(myField, myValue); 389 389 } 390 } 391 No newline at end of file 390 } 391