Add Ability to the app to detect more details on the file
This commit is contained in:
parent
3b9796bfcc
commit
fde0a8b520
|
@ -162,9 +162,10 @@ $(document).ready(function() {
|
||||||
var tr=$('tr').filterAttr('data-file',filename);
|
var tr=$('tr').filterAttr('data-file',filename);
|
||||||
var renaming=tr.data('renaming');
|
var renaming=tr.data('renaming');
|
||||||
if(!renaming && !FileList.isLoading(filename)){
|
if(!renaming && !FileList.isLoading(filename)){
|
||||||
var mime=$(this).parent().parent().data('mime');
|
FileActions.currentFile = $(this).parent();
|
||||||
var type=$(this).parent().parent().data('type');
|
var mime=FileActions.getCurrentMimeType();
|
||||||
var permissions = $(this).parent().parent().data('permissions');
|
var type=FileActions.getCurrentType();
|
||||||
|
var permissions = FileActions.getCurrentPermissions();
|
||||||
var action=FileActions.getDefault(mime,type, permissions);
|
var action=FileActions.getDefault(mime,type, permissions);
|
||||||
if(action){
|
if(action){
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
Loading…
Reference in New Issue