From cc1e022882cf2ebf836e9d81e373297ba0b8c54e Mon Sep 17 00:00:00 2001 From: ChanMyeong Date: Mon, 5 Nov 2012 02:25:36 +0000 Subject: [PATCH] Site edit rename input position adjust. git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12111 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/menu/tpl/js/jquery.jstree.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/menu/tpl/js/jquery.jstree.js b/modules/menu/tpl/js/jquery.jstree.js index 60955d50f..8b52e3a48 100644 --- a/modules/menu/tpl/js/jquery.jstree.js +++ b/modules/menu/tpl/js/jquery.jstree.js @@ -1272,15 +1272,16 @@ "class" : "jstree-rename-input", // "size" : t.length, "css" : { - "padding" : "0", + "padding" : "0 4px", "border" : "1px solid silver", "position" : "absolute", "left" : (rtl ? "auto" : (w1 + w2) + "px"), "right" : (rtl ? (w1 + w2 + 4) + "px" : "auto"), - "top" : "8px", + "top" : "0", "height" : (this.data.core.li_height - 2) + "px", "lineHeight" : (this.data.core.li_height - 2) + "px", - "width" : "200px" // will be set a bit further down + "width" : "200px", // will be set a bit further down + "verticalAlign" : "baseline" }, "blur" : $.proxy(function () { var i = obj.children(".jstree-rename-input"),