From 7a4e5d8f40f3a893078272018443ab44caea0154 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 9 Aug 2016 19:55:58 +0200 Subject: [PATCH] Open exiration date picker directly on toggle --- core/js/sharedialogexpirationview.js | 2 ++ 1 file changed, 2 insertions(+) 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(); } }, -- 2.39.5