Commit b74e19bc authored by Leigh B Stoller's avatar Leigh B Stoller

Fixes to previous revision.

parent b4bd337c
......@@ -485,9 +485,9 @@ $(function ()
event.preventDefault();
// Prevent submit if the description is empty.
var description = $('#profile_description').val();
var description = $('#profile_description .textdiv').html();
if (description === "") {
alert("Please provide a description. Its handy!");
alert("Please provide a description. Its required!");
return false;
}
// Add steps to the tour.
......@@ -589,7 +589,7 @@ $(function ()
* If we were given an rspec, suck the description and instructions
* out of the rspec and put them into the text boxes.
*/
if (window.VIEWING) {
if (gotrspec) {
ExtractFromRspec();
}
CreateJacksEditor();
......
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