cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ro...@apache.org
Subject [cloudstack] branch 4.11 updated: ui: fix project network listing failure in UI (#2536)
Date Fri, 27 Apr 2018 10:54:43 GMT
This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch 4.11
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.11 by this push:
     new 296a380  ui: fix project network listing failure in UI (#2536)
296a380 is described below

commit 296a3804b9af2e5c3043e3266cb01bc39a6ad7ff
Author: dahn <daan.hoogland@gmail.com>
AuthorDate: Fri Apr 27 12:54:37 2018 +0200

    ui: fix project network listing failure in UI (#2536)
    
    Fixes #2533
---
 ui/scripts/network.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ui/scripts/network.js b/ui/scripts/network.js
index bcb748d..58fea81 100644
--- a/ui/scripts/network.js
+++ b/ui/scripts/network.js
@@ -732,9 +732,9 @@
                                         gateway: args.data.guestGateway
                                     });
                                 }
-                                if (args.data.guestGateway != null && args.data.guestGateway.length
> 0) {
+                                if (args.data.guestNetmask != null && args.data.guestNetmask.length
> 0) {
                                     $.extend(dataObj, {
-                                        gateway: args.data.guestGateway
+                                        netmask: args.data.guestNetmask
                                     });
                                 }
                                 if (args.data.externalId != null && args.data.externalId.length
> 0) {

-- 
To stop receiving notification emails like this one, please contact
rohit@apache.org.

Mime
View raw message