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:35:05 -04:00
parent e5a78a7197
commit b13fd270fd

View File

@@ -374,10 +374,13 @@ var dynaformEditor={
},
saveHtmlCode:function()
{
var htmlCode = getField("HTML");
//var htmlCode = getField("HTML");
var contenido = document.getElementById("form[HTML]_ifr");
var htmlCode = contenido.contentWindow.document.body.innerHTML;
todoRefreshHtmlCode = htmlCode === null;
if (todoRefreshHtmlCode) return;
var response=this.ajax.set_htmlcode(this.A,htmlCode.value);
var response=this.ajax.set_htmlcode(this.A,htmlCode);
if (response) {
G.alert(response["*message"],"Error");
this.responseAction = false;