diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-form.js index 75ab83149..149723df4 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-form.js @@ -130,7 +130,7 @@ break; case "datepicker": var _dateFmt = $obj.attr('data-dateFmt') || 'yyyy-MM-dd'; - $obj.val(learun.formatDate(value, _dateFmt.replace('HH','hh'))); + $obj.val(learun.formatDate(value, _dateFmt.replace('HH', 'hh'))); break; case "lr-Uploader": $obj.lrUploaderSet(value); @@ -865,6 +865,11 @@ if ($(this).hasClass('edui-default')) { if ($(this)[0].ue) { point.text = $(this)[0].ue.getContent(null, null, true); + } else { + if ($(this)[0].getAttribute('id') == 'edui1_iframeholder') { + var idNowIframe = $(this)[0].getElementsByTagName('iframe')[0].getAttribute('id') + point.text = window.frames[idNowIframe].contentWindow.document.body.innerHTML + } } } else {