mirror of
https://github.com/chylex/Nextcloud-News.git
synced 2025-08-21 12:54:07 +02:00
admin
appinfo
bin
command
config
controller
cron
css
db
dependencyinjection
explore
fetcher
hooks
http
img
js
admin
app
build
controller
directive
AppNavigationEntryUtils.js
NewsAddFeed.js
NewsArticleActions.js
NewsAutoFocus.js
NewsBindUnsafeHtml.js
NewsDraggable.js
NewsDroppable.js
NewsFinishedTransition.js
NewsFocus.js
NewsInstantNotification.js
NewsPlayOne.js
NewsPullToRefresh.js
NewsReadFile.js
NewsScroll.js
NewsSearch.js
NewsStickyMenu.js
NewsStopPropagation.js
NewsTimeout.js
NewsTitleUnreadCount.js
NewsTriggerClick.js
filter
gui
plugin
service
tests
vendor
.bowerrc
.jshintrc
Gruntfile.js
README.md
bower.json
karma.conf.js
package.json
protractor.conf.js
l10n
plugin
service
templates
tests
utility
vendor
.gitignore
.mailmap
.scrutinizer.yml
.travis.yml
AUTHORS.md
CHANGELOG.md
CONTRIBUTING.md
COPYING
Makefile
README.md
composer.json
composer.lock
phpunit.integration.xml
phpunit.xml
19 lines
452 B
JavaScript
19 lines
452 B
JavaScript
/**
|
|
* ownCloud - News
|
|
*
|
|
* This file is licensed under the Affero General Public License version 3 or
|
|
* later. See the COPYING file.
|
|
*
|
|
* @author Bernhard Posselt <dev@bernhard-posselt.com>
|
|
* @copyright Bernhard Posselt 2014
|
|
*/
|
|
app.directive('newsTriggerClick', function () {
|
|
'use strict';
|
|
|
|
return function (scope, elm, attr) {
|
|
elm.click(function () {
|
|
$(attr.newsTriggerClick).trigger('click');
|
|
});
|
|
};
|
|
|
|
}); |