From a3c9117f3e002a3abb9f5ea87f87debcf320faeb Mon Sep 17 00:00:00 2001 From: ndbs Date: Tue, 15 Mar 2022 14:05:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E4=BB=BB=E5=8A=A1=E6=89=93?= =?UTF-8?q?=E5=8D=B0=E6=B5=81=E7=A8=8B=E8=8E=B7=E5=8F=96=E5=AF=8C=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E6=A1=86=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/LR_Content/script/lr-form.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 {