Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,11 @@ var ChartBPSController = function(deliveryService, $scope, $state, $timeout, $fi
};

var registerResizeListener = function() {
$(window).resize(plotChart);
$(window).bind("resize", plotChart);
};

var unregisterResizeListener = function() {
$(window).unbind("resize", plotChart);
};

var plotChart = function() {
Expand All @@ -147,6 +151,7 @@ var ChartBPSController = function(deliveryService, $scope, $state, $timeout, $fi

$scope.$on("$destroy", function() {
killIntervals();
unregisterResizeListener();
});

angular.element(document).ready(function () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,11 @@ var ChartHttpStatusController = function(deliveryService, $scope, $state, $timeo
};

var registerResizeListener = function() {
$(window).resize(plotChart);
$(window).bind("resize", plotChart);
};

var unregisterResizeListener = function() {
$(window).unbind("resize", plotChart);
};

var plotChart = function() {
Expand All @@ -180,6 +184,7 @@ var ChartHttpStatusController = function(deliveryService, $scope, $state, $timeo

$scope.$on("$destroy", function() {
killIntervals();
unregisterResizeListener();
});

angular.element(document).ready(function () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,11 @@ var ChartTPSController = function(deliveryService, $scope, $state, $timeout, $fi
};

var registerResizeListener = function() {
$(window).resize(plotChart);
$(window).bind("resize", plotChart);
};

var unregisterResizeListener = function() {
$(window).unbind("resize", plotChart);
};

var plotChart = function() {
Expand All @@ -147,6 +151,7 @@ var ChartTPSController = function(deliveryService, $scope, $state, $timeout, $fi

$scope.$on("$destroy", function() {
killIntervals();
unregisterResizeListener();
});

angular.element(document).ready(function () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,11 @@ var WidgetCDNChartController = function(cdn, $scope, $timeout, $filter, $q, $int
};

var registerResizeListener = function() {
$(window).resize(plotChart);
$(window).bind("resize", plotChart);
};

var unregisterResizeListener = function() {
$(window).unbind("resize", plotChart);
};

var plotChart = function() {
Expand All @@ -187,6 +191,7 @@ var WidgetCDNChartController = function(cdn, $scope, $timeout, $filter, $q, $int

$scope.$on("$destroy", function() {
killIntervals();
unregisterResizeListener();
});

angular.element(document).ready(function () {
Expand Down