Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Fixed: #277 #2553

Merged
merged 3 commits into from
Jan 16, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/styles/jsTreeTheme.less
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,13 @@ ins.jstree-icon {
.jstree-brackets .jstree-locked a { color:silver; cursor:default; }

.jstree-brackets .jstree-rename-input {
border: 1px solid silver;
color: black;
left: 3px !important;
padding: 0;
position: absolute;
top: 0;
width: 150px;
}

#vakata-contextmenu.jstree-brackets-context,
Expand Down
8 changes: 1 addition & 7 deletions src/thirdparty/jstree_pre1.0_fix_1/jquery.jstree.js
Original file line number Diff line number Diff line change
Expand Up @@ -1275,15 +1275,9 @@
"class" : "jstree-rename-input",
// "size" : t.length,
"css" : {
"padding" : "0",
"border" : "1px solid silver",
"position" : "absolute",
"left" : (rtl ? "auto" : (w1 + w2 + 4) + "px"),
"right" : (rtl ? (w1 + w2 + 4) + "px" : "auto"),
"top" : "0px",
"height" : (this.data.core.li_height - 2) + "px",
"lineHeight" : (this.data.core.li_height - 2) + "px",
"width" : "150px" // will be set a bit further down
},
"blur" : $.proxy(function () {
var i = obj.children(".jstree-rename-input"),
Expand Down Expand Up @@ -4549,4 +4543,4 @@
})(jQuery);
//*/

})();
})();