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:
Marco Antonio Nina
2013-02-14 10:51:38 -04:00
parent b13fd270fd
commit 37af3b24d3

View File

@@ -375,8 +375,8 @@ var dynaformEditor={
saveHtmlCode:function()
{
//var htmlCode = getField("HTML");
var contenido = document.getElementById("form[HTML]_ifr");
var htmlCode = contenido.contentWindow.document.body.innerHTML;
var htmlField = document.getElementById("form[HTML]_ifr");
var htmlCode = htmlField.contentWindow.document.body.innerHTML;
todoRefreshHtmlCode = htmlCode === null;
if (todoRefreshHtmlCode) return;