Commit 2267732c authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Enable max reservation handling in the extend modal.

parent cfc9d68f
...@@ -498,6 +498,7 @@ window.ShowExtendModal = (function() ...@@ -498,6 +498,7 @@ window.ShowExtendModal = (function()
sup.HideModal('#waitwait-modal'); sup.HideModal('#waitwait-modal');
if (json.code) { if (json.code) {
console.info("Failed to get max extension: " + json.value); console.info("Failed to get max extension: " + json.value);
$(modalname).modal('show');
return; return;
} }
/* /*
...@@ -538,7 +539,7 @@ window.ShowExtendModal = (function() ...@@ -538,7 +539,7 @@ window.ShowExtendModal = (function()
$(modalname).modal('show'); $(modalname).modal('show');
} }
} }
if (studly) { if (1) {
sup.ShowModal('#waitwait-modal'); sup.ShowModal('#waitwait-modal');
var xmlthing = var xmlthing =
sup.CallServerMethod(null, "status", "MaxExtension", sup.CallServerMethod(null, "status", "MaxExtension",
......
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