summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-02-28 14:17:07 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2015-02-28 14:17:07 +0100
commitd85b56d5c967651e47e9723859b516c7d9c463ae (patch)
treed7507e6bc13be36b183e8fcfee432d3aee53eb00 /templates
parent7986ea3afcc0c57ecad5a25a92a5bbee8db81d08 (diff)
prefill add feed if url parameter given
Diffstat (limited to 'templates')
-rw-r--r--templates/index.php1
-rw-r--r--templates/part.navigation.addfeed.php3
2 files changed, 3 insertions, 1 deletions
diff --git a/templates/index.php b/templates/index.php
index 428fae395..e8064d1d6 100644
--- a/templates/index.php
+++ b/templates/index.php
@@ -2,6 +2,7 @@
use OCA\News\Plugin\Client\Plugin;
script('news', [
+ 'vendor/js-url/url.min',
'vendor/es6-shim/es6-shim.min',
'vendor/angular/angular.min',
'vendor/angular-animate/angular-animate.min',
diff --git a/templates/part.navigation.addfeed.php b/templates/part.navigation.addfeed.php
index 0841b03a3..5a4b969e6 100644
--- a/templates/part.navigation.addfeed.php
+++ b/templates/part.navigation.addfeed.php
@@ -19,7 +19,8 @@
placeholder="<?php p($l->t('Web address')); ?>"
name="address"
pattern="[^\s]+"
- required>
+ required
+ autofocus>
<p class="error"
ng-show="!Navigation.addingFeed &&