From: Zongmei Gou <gouzongmei(a)ourfuture.cn>
---
ui/js/src/kimchi.network.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/js/src/kimchi.network.js b/ui/js/src/kimchi.network.js
index 34448f8..bd91d29 100644
--- a/ui/js/src/kimchi.network.js
+++ b/ui/js/src/kimchi.network.js
@@ -157,7 +157,7 @@ kimchi.addNetworkActions = function(network) {
network.state = "down";
}
} else if ($(evt.currentTarget).attr("nwAct") === "delete")
{
- if (network.state === "up") {
+ if (network.state === "up" || network.in_use) {
return false;
}
kimchi.confirm({
--
1.8.3.1