Commit 8edf9fee authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Oops, cannot stay on the page after creating new reservation, since we

do not have the reservation ID, and so instead of editing you end up
creating a new one. This is easily fixable, will do so later. In the
meantime just reload the reservation listing page.
parent ff4a65cf
......@@ -342,8 +342,12 @@ $(function ()
* If the reservation is pending, lets stay on this page.
* Oops: we do not have the reservation index so we are not
* in edit mode, and so changing the reservation will actually
* create new one. Fix at some point. In the meantime, just
* reload the list page.
if (json.value == 3) {
if (0 && json.value == 3) {
// Back to edit/approve
ToggleSubmit(false, "check");
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