From 6ed04419a9139841865405de55bc8ab712af9db2 Mon Sep 17 00:00:00 2001 From: Vincent Fournier Date: Sun, 9 Aug 2015 11:05:44 -0400 Subject: [PATCH] Fix bug that prevent saving layout Change-Id: I4479d02b25d1047d6d28ca764ecdaa3d3722e2ae --- .../config/defaultLayoutConfig.json | 20 ++++++++----------- app/components/directive/tabpanel/panel.html | 4 ++-- .../directive/tabpanel/tabpanel.html | 6 +++--- app/components/directive/tabpanel/tabpanel.js | 19 +++++++++--------- 4 files changed, 22 insertions(+), 27 deletions(-) diff --git a/app/components/config/defaultLayoutConfig.json b/app/components/config/defaultLayoutConfig.json index 2d96cca..5f8b369 100644 --- a/app/components/config/defaultLayoutConfig.json +++ b/app/components/config/defaultLayoutConfig.json @@ -8,18 +8,16 @@ { "type": "tabpanel", "attributes": { - "navigation": [ - { + "navigation": { + "openProblems" : { "title": "Open problems", - "panelId": "openProblems", "provider": "nbServicesHostsOpenProblems" }, - { + "allProblems": { "title": "All problems", - "panelId": "allProblems", "provider": "nbServicesHostsProblems" } - ] + } }, "components": [ { @@ -74,18 +72,16 @@ { "type": "tabpanel", "attributes": { - "navigation": [ - { + "navigation": { + "openProblems": { "title": "Open Problems", - "panelId": "openProblems", "provider": "nbServicesHostsOpenProblems" }, - { + "allProblems": { "title": "All Problems", - "panelId": "allProblems", "provider": "nbServicesHostsOpenProblemsDoubleCount" } - ] + } }, "components": [ { diff --git a/app/components/directive/tabpanel/panel.html b/app/components/directive/tabpanel/panel.html index 6bb02df..7a4bc3a 100644 --- a/app/components/directive/tabpanel/panel.html +++ b/app/components/directive/tabpanel/panel.html @@ -1,5 +1,5 @@ -
+
diff --git a/app/components/directive/tabpanel/tabpanel.html b/app/components/directive/tabpanel/tabpanel.html index 63ee4c6..1082416 100644 --- a/app/components/directive/tabpanel/tabpanel.html +++ b/app/components/directive/tabpanel/tabpanel.html @@ -1,9 +1,9 @@