Commit f28a1d5b authored by Leigh Stoller's avatar Leigh Stoller

Mark the profile as "modified" after getting the repository and the

profile source code, so that the Create button goes active.
parent 69cda823
......@@ -1217,7 +1217,15 @@ $(function ()
// Add the url to the form.
$('#quickvm_create_profile_form #repourl').val(repourl);
sup.HideWaitWait(function() {
changeRspec(json.value.script);
/*
* The point of this callback is to process the script/rspec
* before trying to mark the page as "modified".
*/
changeRspec(json.value.script, function(changed) {
if (changed) {
ProfileModified();
}
});
});
}
WaitWait("We are attempting to clone your repository. " +
......
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