Skip to content

Commit

Permalink
Merge pull request #78 from eprogramming/master
Browse files Browse the repository at this point in the history
added a realease link on file menu to release aesh console
  • Loading branch information
helio-frota committed Sep 28, 2014
2 parents 50f0b5d + 4c812ea commit 18aff28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ public void send(String command, String customCommand, CloverXRequest request) t
public void stop(CloverXRequest request) throws Exception {
AeshHandler aesh = getAeshHandler(request);
aesh.stop();
CloverXSession session = request.getSession();
session.destroy();
LOGGER.info("stoped.");
}

Expand Down
1 change: 1 addition & 0 deletions src/main/resources/templates/cloverxell.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ body {
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown" style="margin-left: -20px;">File<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="javascript:void(0);" onclick="cloverxell.newTab();">Open Tab</a></li>
<li><a href="javascript:void(0);" onclick="cloverxell.stop();">Release</a></li>
</ul></li>
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Edit<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
Expand Down

0 comments on commit 18aff28

Please sign in to comment.