show file type metadata only on left mouse click on a file
@@ -306,8 +306,11 @@ function bindFileBrowserItemEvents() {
// Handle "select" of clicked elements - Mouse Up
if (!e.ctrlKey && !e.metaKey) {
if ($(this).hasClass("fb-file")){
+ // check if this is a left mouse button click
+ if(e.which == 1){
showFileTypeMetadata();
}
+ }
else{
$("#fileTypeMetaDataTab").html(file_metadata_alert);
}
