File Selected on Click instead of download.

This commit is contained in:
raghunayyar 2013-10-02 21:13:07 +05:30
parent 551e809790
commit 81b4904c78
2 changed files with 7 additions and 1 deletions

View File

@ -228,6 +228,12 @@ table td.filename form { font-size:.85em; margin-left:3em; margin-right:3em; }
-webkit-transition:background-image 500ms; -moz-transition:background-image 500ms; -o-transition:background-image 500ms; transition:background-image 500ms;
}
#fileList tr td.filename .name {
position: absolute;
width: 100%;
height: 50px;
}
#uploadsize-message,#delete-confirm { display:none; }
/* File actions */

View File

@ -31,7 +31,7 @@ $totalsize = 0; ?>
<?php if($file['type'] == 'dir'): ?>
<a class="name" href="<?php p(rtrim($_['baseURL'],'/').'/'.trim($directory,'/').'/'.$name); ?>" title="">
<?php else: ?>
<a class="name" href="<?php p(rtrim($_['downloadURL'],'/').'/'.trim($directory,'/').'/'.$name); ?>" title="">
<label class="name" title="" for="select-<?php p($file['fileid']); ?>"></label>
<?php endif; ?>
<span class="nametext">
<?php if($file['type'] == 'dir'):?>