equal
deleted
inserted
replaced
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]; |