]> source.dussan.org Git - nextcloud-server.git/commitdiff
Adding link to ellipsis and fixing styling
authorClark Tomlinson <fallen013@gmail.com>
Fri, 5 Sep 2014 18:54:53 +0000 (14:54 -0400)
committerClark Tomlinson <fallen013@gmail.com>
Tue, 16 Sep 2014 13:18:01 +0000 (09:18 -0400)
apps/files/js/breadcrumb.js
core/css/styles.css

index 7381fa8e432e5ee3e383198b2beea27777e466bf..8df9b7ee6fe0742546323cfd08b55956da84ecb7 100644 (file)
                                                this.$el.find('.crumb.ellipsized')
                                                        .attr('title', $crumb.attr('data-dir'))
                                                        .tipsy();
+                                               this.$el.find('.ellipsis')
+                                                       .wrap('<a class="ellipsislink" href="' + encodeURI(OC.generateUrl('apps/files/?dir=' + $crumb.attr('data-dir'))) + '"></a>');
                                        }
                                        // and all the previous ones (going backwards)
                                        firstHidden = false;
index 2f8f9612f7827d79f3e305e0c119e8630830355c..8fc3973d42e47ba20b3c90e0f4010ec77c1526d2 100644 (file)
@@ -874,6 +874,11 @@ div.crumb.last {
        font-weight: bold;
        margin-right: 10px;
 }
+div.crumb a.ellipsislink {
+       padding: 0 !important;
+       position: relative;
+       top: 8px !important;
+}
 
 /* some feedback for hover/tap on breadcrumbs */
 div.crumb:hover,