]> source.dussan.org Git - nextcloud-server.git/commitdiff
File Selected on Click instead of download.
authorraghunayyar <me@iraghu.com>
Wed, 2 Oct 2013 15:43:07 +0000 (21:13 +0530)
committerraghunayyar <me@iraghu.com>
Wed, 2 Oct 2013 15:43:07 +0000 (21:13 +0530)
apps/files/css/files.css
apps/files/templates/part.list.php

index b3ecd1dab93e4cb62cb167881960c7b6aba9f49b..82b3024231b3e0d936dfa9199d3def4937540c96 100644 (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 */
index 1e4d4d11c98dbfa6344abe6ec9a1f48e993d7588..ed3e3a2d94ab90558113223a52b544be192d0507 100644 (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'):?>