Commit 647cbdf8 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Various small bug fixes.

parent 00482a74
......@@ -385,7 +385,7 @@ function ($, sup, moment)
sup.ShowModal("#waitwait");
var xmlthing = sup.CallServerMethod(ajaxurl,
"status",
"RequestInstanceExtension",
"RequestExtension",
{"uuid" : uuid,
"reason" : reason});
xmlthing.done(callback);
......
......@@ -155,10 +155,11 @@ function Do_GetSSHAuthObject()
#
# Request automatic extension.
#
function Do_RequestInstanceExtension()
function Do_RequestExtension()
{
global $instance, $creator;
global $ajax_args;
global $TBMAIL_OPS;
if (!isset($ajax_args["reason"])) {
SPITAJAX_ERROR(1, "Missing reason");
......
......@@ -201,7 +201,7 @@ echo "<td class='uk-width-4-5' $style>
echo "</tr>\n";
echo "</table>\n";
echo "<div class='pull-right'>\n";
if (isset($this_user) && ISADMIN()) {
if (isset($this_user)) {
echo " <a class='btn btn-xs btn-primary' $disabled hidden
id='snapshot_button' type=button
href='manage_profile.php?action=snapshot&snapuuid=$uuid'>
......
Supports Markdown
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