Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge pull request #418 from ammendonca/HWK-URL-ALERTS-FIX
Browse files Browse the repository at this point in the history
Fix URL alert setup for URLs
  • Loading branch information
ppalaga committed Aug 26, 2015
2 parents 5d50003 + 3320065 commit f5e2c19
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
7 changes: 6 additions & 1 deletion console/src/main/scripts/plugins/metrics/ts/metricsAlerts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,12 @@ module HawkularMetrics {
public openResponseSetup() {
var modalInstance = this.$modal.open({
templateUrl: 'plugins/metrics/html/modals/alerts-url-response-setup.html',
controller: 'AlertUrlResponseSetupController as mas'
controller: 'AlertUrlResponseSetupController as mas',
resolve: {
resourceId: function () {
return this.resourceId;
}
}
});

var logger = this.$log;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,13 @@ module HawkularMetrics {

var modalInstance = this.$modal.open({
templateUrl: 'plugins/metrics/html/modals/alerts-url-availability-setup.html',
controller: 'AlertUrlAvailabilitySetupController as mas'
controller: 'AlertUrlAvailabilitySetupController as mas',
resolve: {
resourceId: function () {
return this.resourceId;
}
}

});

var logger = this.$log;
Expand Down

0 comments on commit f5e2c19

Please sign in to comment.