Loading template/app/view/ClassGrid.js +8 −3 Original line number Diff line number Diff line Loading @@ -48,7 +48,10 @@ Ext.define('Docs.view.ClassGrid', { }, { dataIndex: 'title', flex: true flex: true, renderer: function(title, data, r) { return Ext.String.format('<a href="#{0}" rel="{0}" class="docClass">{1}</a>', r.get("url"), title); } } ]; Loading @@ -70,8 +73,10 @@ Ext.define('Docs.view.ClassGrid', { this.callParent(arguments); this.on("itemclick", function(view, record, item, index, event) { // Don't fire urlclick when close button clicked if (!event.getTarget("img")) { // Only fire urlclick when the row background is clicked // (that doesn't contain neither the link nor the close // button). if (!event.getTarget("img") && !event.getTarget("a")) { this.fireEvent("urlclick", record.get("url"), event); } }, this); Loading template/resources/sass/viewport.scss +2 −2 Original line number Diff line number Diff line Loading @@ -239,8 +239,8 @@ a { background: #e9e9e9 url(../images/drag-bar-center.png) no-repeat center; border-width: 1px 0; } } // Use normal color for class-links in tree .class-tree { // Use normal color for class-links in tree and favorites grid .class-tree, #favorites-grid { .docClass, .docClass:hover { color: #000; } } Loading Loading
template/app/view/ClassGrid.js +8 −3 Original line number Diff line number Diff line Loading @@ -48,7 +48,10 @@ Ext.define('Docs.view.ClassGrid', { }, { dataIndex: 'title', flex: true flex: true, renderer: function(title, data, r) { return Ext.String.format('<a href="#{0}" rel="{0}" class="docClass">{1}</a>', r.get("url"), title); } } ]; Loading @@ -70,8 +73,10 @@ Ext.define('Docs.view.ClassGrid', { this.callParent(arguments); this.on("itemclick", function(view, record, item, index, event) { // Don't fire urlclick when close button clicked if (!event.getTarget("img")) { // Only fire urlclick when the row background is clicked // (that doesn't contain neither the link nor the close // button). if (!event.getTarget("img") && !event.getTarget("a")) { this.fireEvent("urlclick", record.get("url"), event); } }, this); Loading
template/resources/sass/viewport.scss +2 −2 Original line number Diff line number Diff line Loading @@ -239,8 +239,8 @@ a { background: #e9e9e9 url(../images/drag-bar-center.png) no-repeat center; border-width: 1px 0; } } // Use normal color for class-links in tree .class-tree { // Use normal color for class-links in tree and favorites grid .class-tree, #favorites-grid { .docClass, .docClass:hover { color: #000; } } Loading