Commit 0253aaac authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

UI error overlay fixes

- Correct css selector for error overlay title header
- Display vm create errors as critical
parent d0adcd2b
......@@ -1841,7 +1841,7 @@
opts = {name: name, imageRef: image.id, flavorRef: flavor.id, metadata:meta}
opts = _.extend(opts, extra);
this.api_call(this.path, "create", {'server': opts}, undefined, undefined, callback, {critical: false});
this.api_call(this.path, "create", {'server': opts}, undefined, undefined, callback, {critical: true});
}
})
......
......@@ -240,7 +240,7 @@
title = this.title || this.type + " Error";
}
this.$(".header .title").text(title);
this.$(".overlay-header .title").text(title);
this.$(".error-code").text(this.code || "");
this.$(".error-type").text(this.type || "");
this.$(".error-module").text(this.ns || "");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment