Commit b2f49ca2 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

ui: Prevent collection create view from opening

additionally to style update, when no quota are available for the resource
parent 9a2b6604
......@@ -225,6 +225,9 @@
this.create_button = this.$(".create-button a");
this.create_button.click(_.bind(function(e) {
e.preventDefault();
if (this.$(".create-button a").hasClass("disabled")) {
return;
}
this.handle_create_click();
}, this));
......
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