diff --git a/src/app/controllers/panelBaseCtrl.js b/src/app/controllers/panelBaseCtrl.js index 7cb3ed08d16..3ea05611cfd 100644 --- a/src/app/controllers/panelBaseCtrl.js +++ b/src/app/controllers/panelBaseCtrl.js @@ -10,6 +10,10 @@ function (angular, _, $) { // when changing arguments to this function function PanelBaseCtrl($scope, $rootScope, $timeout) { + if (!$scope.panel.span) { + $scope.panel.span = 12; + } + var menu = [ { text: 'Edit', @@ -131,4 +135,4 @@ function (angular, _, $) { return PanelBaseCtrl; -}); \ No newline at end of file +}); diff --git a/src/app/partials/dashboard.html b/src/app/partials/dashboard.html index 5cd7a442740..e6843658966 100644 --- a/src/app/partials/dashboard.html +++ b/src/app/partials/dashboard.html @@ -93,7 +93,7 @@