Commit 785eb09c authored by Leigh Stoller's avatar Leigh Stoller

Minor tweak to buttons; when modified disable all buttons (we already

enable the modify button).
parent 21e8d08e
......@@ -454,6 +454,7 @@ function (_, sup, filesize, JacksEditor, ShowImagingModal, moment, ppstart,
{
if (initialized) {
modified = true;
DisableButtons();
EnableButton("profile_submit_button");
}
}
......@@ -927,6 +928,7 @@ function (_, sup, filesize, JacksEditor, ShowImagingModal, moment, ppstart,
EnableButton("profile_delete_button");
EnableButton("profile_instantiate_button");
EnableButton("profile_submit_button");
EnableButton("profile_copy_button");
EnableButton("guest_instantiate_button");
EnableButton("profile_publish_button");
}
......@@ -935,6 +937,7 @@ function (_, sup, filesize, JacksEditor, ShowImagingModal, moment, ppstart,
DisableButton("profile_delete_button");
DisableButton("profile_instantiate_button");
DisableButton("profile_submit_button");
DisableButton("profile_copy_button");
DisableButton("guest_instantiate_button");
DisableButton("profile_publish_button");
}
......
......@@ -392,6 +392,7 @@
type='button'>Instantiate as Guest
</button>
<a class='btn btn-primary btn-sm pull-left'
id='profile_copy_button'
style='margin-right: 10px;'
type='button'
href='manage_profile.php?action=copy&uuid=<%= version_uuid %>'>
......
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