Commit 8a469863 by Torkel Ödegaard

Fixes #1, duplicate panel with 3 colspan remaining on row

parent 73b96ef4
......@@ -438,7 +438,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
$scope.duplicate = function(addToRow) {
addToRow = addToRow || $scope.row;
var currentRowSpan = $scope.rowSpan(addToRow);
if (currentRowSpan <= 8) {
if (currentRowSpan <= 9) {
addToRow.panels.push(angular.copy($scope.panel));
}
else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment