BUG 10803: change field from left to right - Right to left SOLVED
- the content html no captured properly. - was add validation.
This commit is contained in:
@@ -375,8 +375,8 @@ var dynaformEditor={
|
|||||||
saveHtmlCode:function()
|
saveHtmlCode:function()
|
||||||
{
|
{
|
||||||
//var htmlCode = getField("HTML");
|
//var htmlCode = getField("HTML");
|
||||||
var contenido = document.getElementById("form[HTML]_ifr");
|
var htmlField = document.getElementById("form[HTML]_ifr");
|
||||||
var htmlCode = contenido.contentWindow.document.body.innerHTML;
|
var htmlCode = htmlField.contentWindow.document.body.innerHTML;
|
||||||
|
|
||||||
todoRefreshHtmlCode = htmlCode === null;
|
todoRefreshHtmlCode = htmlCode === null;
|
||||||
if (todoRefreshHtmlCode) return;
|
if (todoRefreshHtmlCode) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user