Skip to content

Commit 2e3bedd

Browse files
author
Jessica Wang
committed
CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - Network menu - guest network section - fix an JS error "advSgDisabledZones is undefined".
1 parent 0a19630 commit 2e3bedd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ui/scripts/network.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@
319319
});
320320
}
321321
});
322-
return (advSgDisabledZones.length > 0);
322+
return (advSgDisabledZones != null && advSgDisabledZones.length > 0);
323323
},
324324

325325
createForm: {

0 commit comments

Comments
 (0)