mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 15:33:02 +00:00
Merge pull request #2577 from InfuseAI/remove-stop-my-server-after-server-stopped
Hide Stop My Server red button after server stopped.
This commit is contained in:
@@ -90,6 +90,7 @@ require(["jquery", "moment", "jhapi", "utils"], function(
|
|||||||
});
|
});
|
||||||
api.stop_server(user, {
|
api.stop_server(user, {
|
||||||
success: function() {
|
success: function() {
|
||||||
|
$("#stop").hide();
|
||||||
$("#start")
|
$("#start")
|
||||||
.text("Start My Server")
|
.text("Start My Server")
|
||||||
.attr("title", "Start your default server")
|
.attr("title", "Start your default server")
|
||||||
|
Reference in New Issue
Block a user