mirror of https://github.com/apache/cloudstack.git
bug 12316: Install wizard error handling fixes
status 12316: resolved fixed reviewed-by: sonny
This commit is contained in:
parent
e43dcfde56
commit
744e10bf01
|
|
@ -695,6 +695,10 @@ body.login {
|
|||
background: url(../images/icons.png) -1px -224px;
|
||||
}
|
||||
|
||||
.install-wizard .step.intro .subtitle li.error {
|
||||
background: url(../images/icons.png) -1px -190px;
|
||||
}
|
||||
|
||||
.install-wizard .step.intro .subtitle li img {
|
||||
float: right;
|
||||
}
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 48 KiB |
|
|
@ -430,7 +430,7 @@
|
|||
data: data.zone,
|
||||
complete: steps.createPod,
|
||||
error: function(json) {
|
||||
error('addZone', parseXMLHttpResponse(json), 'createZone');
|
||||
error('addZone', parseXMLHttpResponse(json), { fn: 'createZone', args: args });
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
@ -456,7 +456,7 @@
|
|||
steps.createNetwork({ data: $.extend(args.data, { pod: item })});
|
||||
},
|
||||
error: function(json) {
|
||||
error('addPod', parseXMLHttpResponse(json), 'createPod');
|
||||
error('addPod', parseXMLHttpResponse(json), { fn: 'createPod', args: args });
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
@ -600,7 +600,7 @@
|
|||
steps.createCluster({ data: $.extend(args.data, { guestNetwork: successArgs.data })});
|
||||
},
|
||||
error: function(json) {
|
||||
error('addNetwork', parseXMLHttpResponse(json), 'createNetwork');
|
||||
error('addNetwork', parseXMLHttpResponse(json), { fn: 'createNetwork', args: args });
|
||||
}
|
||||
},
|
||||
data: {
|
||||
|
|
@ -639,7 +639,7 @@
|
|||
});
|
||||
},
|
||||
error: function(json) {
|
||||
error('addCluster', parseXMLHttpResponse(json), 'createCluster');
|
||||
error('addCluster', parseXMLHttpResponse(json), { fn: 'createCluster', args: args });
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
@ -668,7 +668,7 @@
|
|||
});
|
||||
},
|
||||
error: function(json) {
|
||||
error('addHost', parseXMLHttpResponse(json), 'createHost');
|
||||
error('addHost', parseXMLHttpResponse(json), { fn: 'createHost', args: args });
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
@ -696,7 +696,7 @@
|
|||
});
|
||||
},
|
||||
error: function(json) {
|
||||
error('addPrimaryStorage', parseXMLHttpResponse(json), 'createPrimaryStorage');
|
||||
error('addPrimaryStorage', parseXMLHttpResponse(json), { fn: 'createPrimaryStorage', args: args });
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
@ -716,7 +716,7 @@
|
|||
steps.pollSystemVMs();
|
||||
},
|
||||
error: function(json) {
|
||||
error('addSecondaryStorage', parseXMLHttpResponse(json), 'createSecondaryStorage');
|
||||
error('addSecondaryStorage', parseXMLHttpResponse(json), { fn: 'createSecondaryStorage', args: args });
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
@ -747,7 +747,7 @@
|
|||
};
|
||||
|
||||
if (startFn) {
|
||||
steps[startFn]();
|
||||
steps[startFn.fn](startFn.args);
|
||||
} else {
|
||||
steps.createZone();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue