Skip to content

Commit

Permalink
Add a more obvious "Disconnected" message when the user hits stop
Browse files Browse the repository at this point in the history
  • Loading branch information
dgl committed Sep 21, 2013
1 parent 2e29aea commit 7a95cb8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions interfaces/interface-make/main.pm
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ sub new {
$tmp .= "$_: " . _escapejs($icookies->{$_}) . ', ';
}
$tmp =~ s/, $//;
_out('document.onreadystatechange = function() { if(this.readyState == "complete") parent.disconnected(); }');
_out('parent.options = { ' . $tmp . '};');
$event->add('user add', code => \&useradd);
$event->add('user del', code => \&userdel);
Expand Down

0 comments on commit 7a95cb8

Please sign in to comment.