diff --git a/app/controllers/controller.js b/app/controllers/controller.js index 61ab521..c6c35f9 100644 --- a/app/controllers/controller.js +++ b/app/controllers/controller.js @@ -109,8 +109,8 @@ //helpers for determining if the add button should be shown $scope.showAddButton = function () { return $scope.model.config.startWithAddButton - && countVisible() === 0 - && $scope.model.config.fieldsets.length == 1; + && countVisible() === 0; + ///&& $scope.model.config.fieldsets.length == 1; } //helper, ini the render model from the server (model.value) diff --git a/app/less/archetype.less b/app/less/archetype.less index a61d0fa..0fa2209 100644 --- a/app/less/archetype.less +++ b/app/less/archetype.less @@ -1,5 +1,9 @@ .archetypeEditor { width: 98%; + + .dropdown-menu { + top: auto; + } } .archetypeEditor fieldset{ diff --git a/app/views/archetype.html b/app/views/archetype.html index 343b956..6cf11d0 100644 --- a/app/views/archetype.html +++ b/app/views/archetype.html @@ -46,9 +46,17 @@
- - + + Add +