Commit 35bab8da authored by asseldonk's avatar asseldonk
Browse files

filebrowser: chenged entries in menu

parent e24c3e7b
......@@ -104,7 +104,7 @@ var FileBaseMenuItems = Class.extend({
$(elem).addClass("file-menu");
});
var items = [".openFile", ".rename", ".copy", ".cut", ".remove", ".download", ".compress",
".info", ".divider", ".select"
".divider", ".info"
];
$(items.join(", "), menu).removeClass("file-menu");
},
......@@ -115,7 +115,7 @@ var FileBaseMenuItems = Class.extend({
});
var items = [".openFolder", ".rename", ".copy", ".cut", ".remove", ".download", ".compress",
".info", ".divider", ".select"
".divider", ".info"
];
$(items.join(", "), menu).removeClass("file-menu");
},
......@@ -125,10 +125,11 @@ var FileBaseMenuItems = Class.extend({
$(elem).addClass("file-menu");
});
var items = [".createFile", ".createFolder", ".divider", ".info"];
var items = [".createFile", ".createFolder"];
$(items.join(", "), menu).removeClass("file-menu");
var cookie = $.cookie("vispaFile");
if (cookie) {
$(".divider", menu).removeClass("file-menu");
$(".paste", menu).removeClass("file-menu");
}
},
......
......@@ -185,7 +185,7 @@ var Tableview = Class.extend({
var replaceWith = $("<input name='temp' class='input-filename' type='text' />");
// set length of input field
var nameColumnWidth = $(".name", node).innerWidth();
var nameWidth = $(".filename-root", node).innerWidth() +60;
var nameWidth = $(".filename-root", node).innerWidth() + 60;
var standardInputWidth = 180;
var inlineWidth = 180;
if (nameWidth > nameColumnWidth) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment