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

This commit is contained in:
Torkel Ödegaard 2014-01-20 18:35:24 +01:00
parent 73b96ef4ca
commit 8a469863d4

View File

@ -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 {