summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2016-12-09 14:37:41 +0000
committerFilipa Lacerda <filipa@gitlab.com>2016-12-12 12:44:45 +0000
commit7c9a85e35386623bc26374e4eb9b4a53e4fbbce7 (patch)
tree9c81d525aa5a821fbb46e307cc3649d8766ede6b
parent0f6964a38527e648551e981157d5489d4c301b76 (diff)
downloadgitlab-ce-7c9a85e35386623bc26374e4eb9b4a53e4fbbce7.tar.gz
Fix TypeError: Cannot read property 'initTabs'
-rw-r--r--app/assets/javascripts/pipelines.js.es62
-rw-r--r--changelogs/unreleased/25483-broken-tabs.yml4
2 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/javascripts/pipelines.js.es6 b/app/assets/javascripts/pipelines.js.es6
index 72c6c4a1fcd..a7a384fd856 100644
--- a/app/assets/javascripts/pipelines.js.es6
+++ b/app/assets/javascripts/pipelines.js.es6
@@ -4,7 +4,7 @@
((global) => {
class Pipelines {
- constructor(options) {
+ constructor(options = {}) {
if (options.initTabs && options.tabsOptions) {
new global.LinkedTabs(options.tabsOptions);
diff --git a/changelogs/unreleased/25483-broken-tabs.yml b/changelogs/unreleased/25483-broken-tabs.yml
new file mode 100644
index 00000000000..7bc50bdf860
--- /dev/null
+++ b/changelogs/unreleased/25483-broken-tabs.yml
@@ -0,0 +1,4 @@
+---
+title: Fix TypeError: Cannot read property 'initTabs' on commit builds tab
+merge_request:
+author: