# HG changeset patch # User Nathan Phillip Brink # Date 2011-03-21 00:17:55 # Node ID 71e300c8c55b4f094317a5548418a8fbb2684b88 # Parent fd0a7b699e51fea46a67ceb35d4c6667c5bd3300 Trash the ``Add Class'' button which is rendered a noop by the code which enforces that there always is and only is one empty course entry row. diff --git a/input.php b/input.php --- a/input.php +++ b/input.php @@ -180,9 +180,6 @@ if (!empty($_REQUEST['selectsemester'])) - - Add Class -
diff --git a/scripts/scheduleInput.js b/scripts/scheduleInput.js --- a/scripts/scheduleInput.js +++ b/scripts/scheduleInput.js @@ -436,14 +436,6 @@ function prettyTime(time_str) jQuery(document).ready(function() { //-------------------------------------------------- - // Bind the class-adding method - //-------------------------------------------------- - jQuery('#addclass').click(function() { - var classNum = add_class(); - // add_section(classNum); // enable eventually - }); - - //-------------------------------------------------- // Deletes the selected class from input //-------------------------------------------------- jQuery('.deleteClass').live('click', function() {