summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-08-09 19:55:58 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-08-09 19:55:58 +0200
commit7a4e5d8f40f3a893078272018443ab44caea0154 (patch)
tree4bc0a6d6abcadc0106320364b117e352b5bbe0b5
parentf3777f8271944103f780bd9869dbcc2f807ae901 (diff)
downloadnextcloud-server-7a4e5d8f40f3a893078272018443ab44caea0154.tar.gz
nextcloud-server-7a4e5d8f40f3a893078272018443ab44caea0154.zip
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();
}
},