Ticket #5184: flash-youtube.patch
File flash-youtube.patch, 660 bytes (added by , 13 years ago) |
---|
-
flash.
old new 316 316 validate : CKEDITOR.dialog.validate.notEmpty( editor.lang.flash.validateSrc ), 317 317 setup : loadValue, 318 318 commit : commitValue, 319 onChange : function() 320 { 321 var newurl; 322 newurl = this.getValue().replace('youtube.com/watch?v=', 'youtube.com/v/'); 323 if (this.getValue() != newurl) { 324 this.setValue(newurl); 325 }; 326 }, 319 327 onLoad : function() 320 328 { 321 329 var dialog = this.getDialog(),