includes/clientside/tinymce/plugins/media/js/media.js
changeset 476 f26a69c40431
parent 459 31c23016ab62
child 543 dffcbfbc4e59
equal deleted inserted replaced
475:51386f1852b8 476:f26a69c40431
   491 
   491 
   492 function getStr(p, n, d) {
   492 function getStr(p, n, d) {
   493 	var e = document.forms[0].elements[(p != null ? p + "_" : "") + n];
   493 	var e = document.forms[0].elements[(p != null ? p + "_" : "") + n];
   494 	var v = e.type == "text" ? e.value : e.options[e.selectedIndex].value;
   494 	var v = e.type == "text" ? e.value : e.options[e.selectedIndex].value;
   495 
   495 
       
   496 	if (n == 'src')
       
   497 		v = tinyMCEPopup.editor.convertURL(v, 'src', null);
       
   498 
   496 	return ((n == d || v == '') ? '' : n + ":'" + jsEncode(v) + "',");
   499 	return ((n == d || v == '') ? '' : n + ":'" + jsEncode(v) + "',");
   497 }
   500 }
   498 
   501 
   499 function getInt(p, n, d) {
   502 function getInt(p, n, d) {
   500 	var e = document.forms[0].elements[(p != null ? p + "_" : "") + n];
   503 	var e = document.forms[0].elements[(p != null ? p + "_" : "") + n];