diff options
author | Sean McGivern <sean@gitlab.com> | 2016-08-18 16:12:48 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-08-18 16:14:22 +0300 |
commit | dd4784f3b16218cadfa3f73dce2250d4276ffb1f (patch) | |
tree | be35a0f37a75d445d5351f18957a615747d98e34 /app/assets/javascripts/dispatcher.js | |
parent | c90d167b5ec020138f7d72cb1006d1436c980a2a (diff) |
Add MemberExpirationDate JS helper
This helper adds a datepicker to all `js-access-expiration-date`
elements. If that element is a child of a `clearable-input` element and
has a sibling `js-clear-input` element, then it will show a working
clear button to the right of the input field.
Diffstat (limited to 'app/assets/javascripts/dispatcher.js')
-rw-r--r-- | app/assets/javascripts/dispatcher.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js index 9e6901962c6..846162a5a74 100644 --- a/app/assets/javascripts/dispatcher.js +++ b/app/assets/javascripts/dispatcher.js @@ -126,6 +126,7 @@ new UsersSelect(); break; case 'projects:project_members:index': + new MemberExpirationDate(); new ProjectMembers(); new UsersSelect(); break; |