]> source.dussan.org Git - nextcloud-server.git/commitdiff
trash bin button needs to be an input field
authorBjoern Schiessle <schiessle@owncloud.com>
Wed, 2 Oct 2013 14:13:08 +0000 (16:13 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Mon, 7 Oct 2013 14:21:02 +0000 (16:21 +0200)
apps/files/templates/index.php

index e3d4115413d4a18d7c0c06c84da8443ee011d720..a596d263f15aa557441b8d71bde0790d65b1d514 100644 (file)
@@ -36,9 +36,7 @@
                                </form>
                        </div>
                        <?php if ($_['trash'] ): ?>
-                       <div id="trash" class="button">
-                               <a><?php p($l->t('Deleted files'));?></a>
-                       </div>
+                       <input id="trash" type="button" value="<?php p($l->t('Deleted files'));?>" class="button" <?php $_['trashEmpty'] ? p('disabled') : '' ?>></input>
                        <?php endif; ?>
                        <div id="uploadprogresswrapper">
                                <div id="uploadprogressbar"></div>