Commit 7bd4acb8 authored by Leigh Stoller's avatar Leigh Stoller

Fix debugging code.

parent 0c89bc5e
......@@ -166,7 +166,15 @@ function (_, sup, moment, marked, UriTemplate, ShowImagingModal,
}
return;
}
window.location.replace("adminextend.php?uuid=" + uuid);
if (isadmin) {
window.location.replace("adminextend.php?uuid=" + uuid);
return;
}
ShowExtendModal(uuid, RequestExtensionCallback, isadmin,
isguest, null, window.APT_OPTIONS.freenodesurl,
window.APT_OPTIONS.extension_requested,
window.APT_OPTIONS.physnode_count,
window.APT_OPTIONS.physnode_hours);
});
// Handler for the refresh button
......
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