diff options
author | Kushal Pandya <kushalspandya@gmail.com> | 2019-01-25 12:39:06 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2019-01-25 12:39:06 +0300 |
commit | eb44dc25a193a2863bc267e87a145d8bee169ffd (patch) | |
tree | 65762185ac322e2a950b96543bdfc238220d42b4 /app/assets/javascripts/pages/projects/tags | |
parent | e055f7d3caa2b4ba9e9d752b9f846c1c9b674c44 (diff) |
Init GLForm instance on form while editing tags
Diffstat (limited to 'app/assets/javascripts/pages/projects/tags')
-rw-r--r-- | app/assets/javascripts/pages/projects/tags/releases/index.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/assets/javascripts/pages/projects/tags/releases/index.js b/app/assets/javascripts/pages/projects/tags/releases/index.js new file mode 100644 index 00000000000..d6afc71fb03 --- /dev/null +++ b/app/assets/javascripts/pages/projects/tags/releases/index.js @@ -0,0 +1,8 @@ +import $ from 'jquery'; +import ZenMode from '~/zen_mode'; +import GLForm from '~/gl_form'; + +document.addEventListener('DOMContentLoaded', () => { + new ZenMode(); // eslint-disable-line no-new + new GLForm($('.release-form')); // eslint-disable-line no-new +}); |