1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-01-03 14:42:47 +01:00

set focus to right part when you click on a feed, fix

This commit is contained in:
Bernhard Posselt 2013-04-19 23:00:44 +02:00
parent e0091e293b
commit c5cf003d76
5 changed files with 10 additions and 5 deletions

View File

@ -45,7 +45,8 @@
}"
ng-controller="ItemController"
news-item-scroll
item-shortcuts>
item-shortcuts
tabindex="-1">
<?php print_unescaped($this->inc("part.items")); ?>
</div>

View File

@ -6,7 +6,8 @@
class="starred">
<a class="starred-icon"
href="#"
ng-click="starredBusinessLayer.load(0)">
ng-click="starredBusinessLayer.load(0)"
oc-click-focus="{selector: '#app-content'}">
<?php p($l->t('Starred')) ?>
</a>
<span class="utils">

View File

@ -12,7 +12,8 @@
<a class="rss-icon"
href="#"
ui-if="feedBusinessLayer.isShowAll()"
ng-click="subscriptionsBusinessLayer.load(0)">
ng-click="subscriptionsBusinessLayer.load(0)"
oc-click-focus="{selector: '#app-content'}">
<?php p($l->t('All articles'))?>
</a>
<span class="utils">

View File

@ -21,7 +21,8 @@
'problem-icon': feed.error
}"
href="#"
class="title">
class="title"
oc-click-focus="{selector: '#app-content'}">
{{ feed.title }}
</a>

View File

@ -19,7 +19,8 @@
ng-class="{
'progress-icon': !folder.id,
'problem-icon': folder.error
}">
}"
oc-click-focus="{selector: '#app-content'}">
{{ folder.name }}
</a>