summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-08-09 22:37:59 +0200
committerGitHub <noreply@github.com>2016-08-09 22:37:59 +0200
commit4569e4cf19691f109c037ee39e68590b48489e1e (patch)
treeffa6c789cd65eae97139d4677ce6395ca26bada3
parent5214b62d55b3907eb2da7c8e51a3c0c6cd09a00f (diff)
parent7a4e5d8f40f3a893078272018443ab44caea0154 (diff)
downloadnextcloud-server-4569e4cf19691f109c037ee39e68590b48489e1e.tar.gz
nextcloud-server-4569e4cf19691f109c037ee39e68590b48489e1e.zip
Merge pull request #799 from nextcloud/open_date_picker_on_toggle
Open exiration date picker directly on toggle
-rw-r--r--core/js/sharedialogexpirationview.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/js/sharedialogexpirationview.js b/core/js/sharedialogexpirationview.js
index fa5c0c00986..1770bdd5a7b 100644
--- a/core/js/sharedialogexpirationview.js
+++ b/core/js/sharedialogexpirationview.js
@@ -96,6 +96,8 @@
this.model.saveLinkShare({
expireDate: ''
});
+ } else {
+ this.$el.find('#expirationDate').focus();
}
},