Commit 3daad218 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix.

parent 98165a21
......@@ -35,7 +35,7 @@ function ($, sup)
$('#showtopo_modal_button').click(function (event) {
event.preventDefault();
// The rspec is taken from the text area.
ShowRspecContent($('#profile_rspec').val());
ShowRspecContent($('#profile_rspec_textarea').val());
});
$('#expand_rspec_modal_button').click(function (event) {
$('#modal_profile_rspec_textarea').val(
......@@ -44,6 +44,8 @@ function ($, sup)
$('#rspec_modal').modal('show');
});
$('#collapse_rspec_modal_button').click(function (event) {
// Copy back to the plain textarea and kill the modal contents.
// The topo is drawn from the plain textarea.
$('#profile_rspec_textarea').val(
$('#modal_profile_rspec_textarea').val());
$('#rspec_modal').modal('hide');
......
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