Skip to content

Commit

Permalink
Remove validation error message when adding a stream to monitor
Browse files Browse the repository at this point in the history
Clicking on Add Stream button should reset any error messages that were
displayed on the previous failed attempt.

See Netflix#991 for more details.
  • Loading branch information
Assk committed Nov 21, 2015
1 parent 2403585 commit a418af7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hystrix-dashboard/src/main/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
$('#streams').html('<table>' + _.reduce(streams, function(html, s) {
return html + '<tr><td>' + s.name + '</td><td>' + s.stream + '</td></tr>';
}, '') + '</table>');

$('#message').html("");
} else {
$('#message').html("The 'stream' value is required.");
}
Expand Down

0 comments on commit a418af7

Please sign in to comment.