|
@@ -1861,12 +1861,15 @@
|
|
}
|
|
}
|
|
|
|
|
|
if ($(".fileObject.selected").length != 1){
|
|
if ($(".fileObject.selected").length != 1){
|
|
|
|
+ //Multiple object selected
|
|
$(".singleObjectOnly").addClass("disabled");
|
|
$(".singleObjectOnly").addClass("disabled");
|
|
$(".singleObjectOnlyHide").hide();
|
|
$(".singleObjectOnlyHide").hide();
|
|
}else{
|
|
}else{
|
|
|
|
+ //Single object
|
|
$(".singleObjectOnly").removeClass("disabled");
|
|
$(".singleObjectOnly").removeClass("disabled");
|
|
$(".singleObjectOnlyHide").show();
|
|
$(".singleObjectOnlyHide").show();
|
|
}
|
|
}
|
|
|
|
+
|
|
});
|
|
});
|
|
|
|
|
|
//Bind right click select on items
|
|
//Bind right click select on items
|
|
@@ -1940,6 +1943,9 @@
|
|
$("#contextmenu").find(".vroothide").show();
|
|
$("#contextmenu").find(".vroothide").show();
|
|
$("#contextmenu").find(".noSelectionOnly").hide();
|
|
$("#contextmenu").find(".noSelectionOnly").hide();
|
|
$("#contextmenu").find(".vrootonly").hide();
|
|
$("#contextmenu").find(".vrootonly").hide();
|
|
|
|
+
|
|
|
|
+ //Hide backup manual
|
|
|
|
+ $("#contextmenu").find(".backuponly").hide();
|
|
|
|
|
|
//Check if this is folder or file. Replace the suitable selections
|
|
//Check if this is folder or file. Replace the suitable selections
|
|
if ($(this).attr("type") == "folder"){
|
|
if ($(this).attr("type") == "folder"){
|
|
@@ -2024,6 +2030,8 @@
|
|
//Check if this is a backup drive
|
|
//Check if this is a backup drive
|
|
if (containBackup == true){
|
|
if (containBackup == true){
|
|
$("#contextmenu").find(".backuponly").show();
|
|
$("#contextmenu").find(".backuponly").show();
|
|
|
|
+ }else{
|
|
|
|
+ $("#contextmenu").find(".backuponly").hide();
|
|
}
|
|
}
|
|
|
|
|
|
//Show context menu
|
|
//Show context menu
|