Commit 12dc8b35 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou

ui: Fix set of max size value in volumes create view

enforce updated project limits each time the wizard opens
parent 5d030714
...@@ -1904,8 +1904,7 @@ ...@@ -1904,8 +1904,7 @@
return project; return project;
}, },
set_project: function(project) { set_project: function(project, trigger) {
var trigger = false;
if (project != this.project) { if (project != this.project) {
trigger = true; trigger = true;
} }
...@@ -2049,7 +2048,7 @@ ...@@ -2049,7 +2048,7 @@
beforeOpen: function() { beforeOpen: function() {
var project = this.get_available_project(); var project = this.get_available_project();
this.set_project(project); this.set_project(project, true);
if (!this.skip_reset_on_next_open) { if (!this.skip_reset_on_next_open) {
this.submiting = false; this.submiting = false;
this.reset(); this.reset();
......
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