From 58444b05a4ce8190fe3f522a1c01ee82ce248cfd Mon Sep 17 00:00:00 2001 From: taggon Date: Tue, 18 Jan 2011 08:57:16 +0000 Subject: [PATCH] =?UTF-8?q?#19473993=20XEED=20=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EC=B2=A8=EB=B6=80=EC=B0=BD=EC=9D=84=20DOM=EC=83=81=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=EB=AC=B8=EC=84=9C=EC=9D=98=20=EC=A0=9C=EC=9D=BC=20?= =?UTF-8?q?=EB=81=9D=EC=9C=BC=EB=A1=9C=20=EC=9D=B4=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8029 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/editor/skins/xeed/js/xeed.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/editor/skins/xeed/js/xeed.js b/modules/editor/skins/xeed/js/xeed.js index 58b5c1ef6..24b3701bc 100644 --- a/modules/editor/skins/xeed/js/xeed.js +++ b/modules/editor/skins/xeed/js/xeed.js @@ -1442,6 +1442,9 @@ LineBreak = xe.createPlugin('LineBreak', { sel.select(); + /** + * twice enter function is currently disabled + * //
timer if (!this._in_br) { $br.after( $a = $('|') ); @@ -1475,7 +1478,6 @@ LineBreak = xe.createPlugin('LineBreak', { if (!$block.html()) $block.html(invisibleCh); $p.prepend(d.createTextNode(invisibleCh)); - //sel.selectNode($p[0].firstChild); sel.setStart($p[0].firstChild, 0); sel.setEnd($p[0].firstChild, 1); sel.collapseToEnd(); @@ -1484,6 +1486,7 @@ LineBreak = xe.createPlugin('LineBreak', { this._in_br = false; clearTimeout(this._br_timer); + */ }, _scrollIntoView : function(nd) { var $rich, $ctn, top, sctop; @@ -2279,6 +2282,9 @@ FileUpload = xe.createPlugin('FileUpload', { this.$modal_box = app.$root.find('div.xdlw'); if (this.$modal_box.length) { + // #19473993 - move the file window to document's end + this.$modal_box.appendTo(document.body); + this.$attach_list = this.$modal_box.find('div.xdal'); this.$attach_list .mousedown(function(event){ event.stopPropagation(); })