[Kimchi-devel] [PATCH] Issue#361:Bugfix as disable the action button content when creating network

Wen Wang wenwang at linux.vnet.ibm.com
Fri May 16 07:58:14 UTC 2014


Bugfix that disabled the content display of the action button for an exsiting
network when creating a new network.
---
 ui/js/src/kimchi.network.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ui/js/src/kimchi.network.js b/ui/js/src/kimchi.network.js
index ca6d29b..7ff39ae 100644
--- a/ui/js/src/kimchi.network.js
+++ b/ui/js/src/kimchi.network.js
@@ -172,6 +172,9 @@ kimchi.addNetworkActions = function(network) {
     $(".menu-container", "#" + network.name).mouseleave(function() {
         $(".menu-container", "#" + network.name).toggle(false);
     });
+    $("#networkAdd").on("click", function() {
+        $(".menu-container", "#" + network.name).toggle(false);
+    });
 };
 
 kimchi.initNetworkCreation = function() {
-- 
1.9.1




More information about the Kimchi-devel mailing list