Site edit rename input position adjust.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12111 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-11-05 02:25:36 +00:00
parent a928f2618c
commit cc1e022882

View file

@ -1272,15 +1272,16 @@
"class" : "jstree-rename-input", "class" : "jstree-rename-input",
// "size" : t.length, // "size" : t.length,
"css" : { "css" : {
"padding" : "0", "padding" : "0 4px",
"border" : "1px solid silver", "border" : "1px solid silver",
"position" : "absolute", "position" : "absolute",
"left" : (rtl ? "auto" : (w1 + w2) + "px"), "left" : (rtl ? "auto" : (w1 + w2) + "px"),
"right" : (rtl ? (w1 + w2 + 4) + "px" : "auto"), "right" : (rtl ? (w1 + w2 + 4) + "px" : "auto"),
"top" : "8px", "top" : "0",
"height" : (this.data.core.li_height - 2) + "px", "height" : (this.data.core.li_height - 2) + "px",
"lineHeight" : (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 () { "blur" : $.proxy(function () {
var i = obj.children(".jstree-rename-input"), var i = obj.children(".jstree-rename-input"),