Commit 3357dea5 authored by Timothy Stack's avatar Timothy Stack

Show "Stop Linktest" menuitem during a modify.

parent 109e0c94
......@@ -139,6 +139,7 @@ $TB_EXPTSTATE_ACTIVATING = "activating";
$TB_EXPTSTATE_ACTIVE = "active";
$TB_EXPTSTATE_PANICED = "paniced";
$TB_EXPTSTATE_QUEUED = "queued";
$TB_EXPTSTATE_MODIFY_RESWAP = "modify_reswap";
# Interfaces roles.
define("TBDB_IFACEROLE_CONTROL", "ctrl");
......
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2005 University of Utah and the Flux Group.
# Copyright (c) 2000-2006 University of Utah and the Flux Group.
# All rights reserved.
#
include("defs.php3");
......@@ -205,7 +205,8 @@ if ($expstate == $TB_EXPTSTATE_ACTIVE) {
}
if (($expstate == $TB_EXPTSTATE_ACTIVE ||
$expstate == $TB_EXPTSTATE_ACTIVATING) &&
$expstate == $TB_EXPTSTATE_ACTIVATING ||
$expstate == $TB_EXPTSTATE_MODIFY_RESWAP) &&
(STUDLY() || $EXPOSELINKTEST)) {
WRITESUBMENUBUTTON(($linktest_running ?
"Stop LinkTest" : "Run LinkTest"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment