cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jessicaw...@apache.org
Subject git commit: updated refs/heads/master to 854f6ce
Date Tue, 15 Jul 2014 23:19:51 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 9b2565dcc -> 854f6ce3e


UI > network > Edit Network action > not pass networkdomain parameter to updateNetwork
API when input field is empty.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/854f6ce3
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/854f6ce3
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/854f6ce3

Branch: refs/heads/master
Commit: 854f6ce3eede60239d5a082bd1d08354223c4fff
Parents: 9b2565d
Author: Jessica Wang <jessicawang@apache.org>
Authored: Tue Jul 15 16:19:23 2014 -0700
Committer: Jessica Wang <jessicawang@apache.org>
Committed: Tue Jul 15 16:19:23 2014 -0700

----------------------------------------------------------------------
 ui/scripts/network.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/854f6ce3/ui/scripts/network.js
----------------------------------------------------------------------
diff --git a/ui/scripts/network.js b/ui/scripts/network.js
index 3c8107b..b3a003d 100755
--- a/ui/scripts/network.js
+++ b/ui/scripts/network.js
@@ -913,7 +913,7 @@
                                     };
 
                                     //args.data.networkdomain is null when networkdomain
field is hidden
-                                    if (args.data.networkdomain != null && args.data.networkdomain
!= args.context.networks[0].networkdomain) {
+                                    if (args.data.networkdomain != null && args.data.networkdomain.length
> 0 && args.data.networkdomain != args.context.networks[0].networkdomain) {
                                         $.extend(data, {
                                             networkdomain: args.data.networkdomain
                                         });


Mime
View raw message