Commit 37c3d154 authored by Keith Downie's avatar Keith Downie

Fixed an error with the experient creation (selecting profile form)

parent a3083d60
......@@ -143,6 +143,7 @@ function ShowTopo(uuid)
function UpdateProfileSelection(selectedElement)
{
var profile = $(selectedElement).attr('value');
$('#selected_profile').attr('value', profile);
$('#selected_profile_text').html("" + profile);
if (!$(selectedElement).hasClass('current'))
......
......@@ -170,11 +170,11 @@ function SPITFORM($username, $email, $sshkey, $profile, $newuser, $errors)
<div id='profile_well' class='form-group well well-md'>
<span id='selected_profile_text' class='pull-left'>
</span>
<input id='selected_profile' type='hidden' name='profile'/>
<button id='profile' class='btn btn-primary btn-xs pull-right'
type='button' name='profile'>
type='button' name='profile_button'>
Select a Profile
</button>\n";
echo " <label
......
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