summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Read <tread@gitlab.com>2019-01-10 15:41:44 +0100
committerPeter Leitzen <pleitzen@gitlab.com>2019-01-24 08:57:21 +0100
commit94643f16d553679e6be53fa540c0884fbe8ba1ba (patch)
tree9b51d5382d123c1290247fb1d0d495db456ba9c9
parentaebc47256a504dbc30cb1ccf66e44667c3f2f05c (diff)
downloadgitlab-ce-94643f16d553679e6be53fa540c0884fbe8ba1ba.tar.gz
Add JS for operations expand/collapse
-rw-r--r--app/assets/javascripts/pages/projects/settings/operations/show/index.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/javascripts/pages/projects/settings/operations/show/index.js b/app/assets/javascripts/pages/projects/settings/operations/show/index.js
new file mode 100644
index 00000000000..48d75f5443b
--- /dev/null
+++ b/app/assets/javascripts/pages/projects/settings/operations/show/index.js
@@ -0,0 +1,6 @@
+import initSettingsPanels from '~/settings_panels';
+
+document.addEventListener('DOMContentLoaded', () => {
+ // Initialize expandable settings panels
+ initSettingsPanels();
+});