Skip to content

Commit

Permalink
never update error if a older one is visible
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoIannacone committed Jun 16, 2014
1 parent afe0969 commit 8ada7a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions debomatic-webui/public/javascripts/page_distribution.js
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,8 @@ function Page_Distrubion(socket) {

var error = {
set: function (socket_error) {
if ($('#error').is(':visible'))
return;
$('#error span').html(socket_error);
error.view();
},
Expand Down

0 comments on commit 8ada7a9

Please sign in to comment.