Commit 5b5e5c2a authored by Leigh B Stoller's avatar Leigh B Stoller

Minor fixes.

parent b6d4f560
......@@ -250,7 +250,7 @@ $(function ()
// Handler so we know the user closed the modal. We need to
// clear the confirm button handler.
$(modal).on('hidden.bs.modal', function (e) {
$(modal + ' .nomessage-error').unbind("click");
$(modal + ' .confirm-button').unbind("click");
$(modal).off('hidden.bs.modal');
})
// Hide error
......
......@@ -376,6 +376,7 @@ function Do_InfoOrWarn($warning = false)
SPITAJAX_ERROR(-1, "No such project");
return;
}
$pid = $project->pid();
if (!isset($ajax_args["uid_idx"])) {
SPITAJAX_ERROR(-1, "Missing uid idx");
return;
......
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