Skip to content

Commit 68034f6

Browse files
cheldWitold Bedyk
authored andcommitted
Fixing 'Create Alarm Definition' for IE11
The widget ngTags is used to select dimensions. This widget does not work with IE 11 and the AngularJS versions provided by Horizon. Replacing ng-click event with ng-mousedown event, because the ng-click event does not fire on IE11 in the given dialog layout. Change-Id: I9918debd164dce7ddc4bba15a07d6f3edddc7a09 Story: 2001504 Task: 6295 (cherry picked from commit 4c2cabb) (cherry picked from commit cdaf5b3)
1 parent eace0d1 commit 68034f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

monitoring/static/monitoring/js/ng-tags-input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ tagsInput.run(["$templateCache", function($templateCache) {
772772
);
773773

774774
$templateCache.put('ngTagsInput/auto-complete.html',
775-
"<div class=\"autocomplete\" ng-show=\"suggestionList.visible\"><ul class=\"suggestion-list\"><li class=\"suggestion-item\" ng-repeat=\"item in suggestionList.items track by track(item)\" ng-class=\"{selected: item == suggestionList.selected}\" ng-click=\"addSuggestion()\" ng-mouseenter=\"suggestionList.select($index)\" ng-bind-html=\"highlight(item)\"></li></ul></div>"
775+
"<div class=\"autocomplete\" ng-show=\"suggestionList.visible\"><ul class=\"suggestion-list\"><li class=\"suggestion-item\" ng-repeat=\"item in suggestionList.items track by track(item)\" ng-class=\"{selected: item == suggestionList.selected}\" ng-mousedown=\"addSuggestion()\" ng-mouseenter=\"suggestionList.select($index)\" ng-bind-html=\"highlight(item)\"></li></ul></div>"
776776
);
777777
}]);
778778

0 commit comments

Comments
 (0)