CS-16714:Updgrading a network that has Network offering SRX/F5 inline mode to a 
network offering that has all service provided by VR does not give proper error 
message if user selects yes when UI prompts Do you want to keep the current 
guest network CIDR unchange


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

Branch: refs/heads/master
Commit: 23247e053081e05e1c518e5bf33a80363336542f
Parents: 6c30700
Author: Pranav Saxena <[email protected]>
Authored: Thu Nov 8 12:20:58 2012 +0530
Committer: Pranav Saxena <[email protected]>
Committed: Thu Nov 8 12:20:58 2012 +0530

----------------------------------------------------------------------
 ui/scripts/vpc.js |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/23247e05/ui/scripts/vpc.js
----------------------------------------------------------------------
diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js
index e805282..c198a91 100644
--- a/ui/scripts/vpc.js
+++ b/ui/scripts/vpc.js
@@ -1446,7 +1446,10 @@
                              }
                             }
                           );
-                        }
+                        },
+                        error:function(json) {
+                         args.response.error(parseXMLHttpResponse(json));
+                            }
                       });
                     },
                     cancelAction: function() { //"Cancel" button is clicked
@@ -1466,7 +1469,10 @@
                              }
                             }
                           );
-                        }
+                        },
+                        error:function(json) {
+                         args.response.error(parseXMLHttpResponse(json));
+                            }
                       });
                     }
                   });
@@ -1489,7 +1495,10 @@
                      }
                     }
                   );
-                }
+                },
+                error:function(json) {
+                         args.response.error(parseXMLHttpResponse(json));
+                            }
               });
             },
             notification: {

Reply via email to