Changeset - c0d30a82a71f
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 14 years ago 2011-07-30 12:42:15
ohnobinki@ohnopublishing.net
Don't scroll to the top of the document on clicking ``Detailed Instructions...''
1 file changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
scripts/scheduleInput.js
Show inline comments
 
/*
 
/* -*- tab-width: 4; -*-
 
 * Copyright 2010 Nathan Gelderloos, Ethan Zonca, Nathan Phillip Brink
 
 *
 
 * This file is part of SlatePermutate.
 
 *
 
 * SlatePermutate is free software: you can redistribute it and/or modify
 
 * it under the terms of the GNU Affero General Public License as published by
 
 * the Free Software Foundation, either version 3 of the License, or
 
 * (at your option) any later version.
 
 *
 
 * SlatePermutate is distributed in the hope that it will be useful,
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
@@ -731,27 +731,28 @@ jQuery(document).ready(function() {
 
	// Show/Hide advanced items
 
	//--------------------------------------------------
 
	jQuery('.advanced').hide();    
 
	jQuery('#showadvanced').click( function() {
 
		jQuery('#showadvanced').hide();
 
		jQuery('.advanced').slideToggle();
 
	});
 

	
 
        //--------------------------------------------------
 
        // Show/Hide instructions
 
        //--------------------------------------------------
 
	jQuery('#schoolInstructionsBox').hide();
 
	jQuery('#showInstructions').click( function() {
 
	jQuery('#showInstructions').click( function(e) {
 
		jQuery('#showInstructions').hide();
 
		jQuery('#schoolInstructionsBox').slideToggle();
 
		e.preventDefault();
 
	});
 

	
 

	
 
	//-------------------------------------------------
 
	// Show more saved schedules
 
	//-------------------------------------------------
 
        jQuery('#showMore').click( function() {
 
		jQuery('.hidden').show();
 
		jQuery('#showMore').hide();
 
		jQuery('#showLess').show();
 
        });
 
        jQuery('#showLess').click( function() {
0 comments (0 inline, 0 general)