Changeset - 9ad3cb940318
[Not reviewed]
default
0 3 0
Nathan Brink (binki) - 15 years ago 2011-02-05 21:46:53
ohnobinki@ohnopublishing.net
Automatically display Saturday on the input page if autocomplete data uses it.
3 files changed with 6 insertions and 2 deletions:
0 comments (0 inline, 0 general)
input.php
Show inline comments
 
@@ -139,7 +139,7 @@ if (!empty($_REQUEST['selectschool'])
 
	  <col />
 
	  <col />
 
	  <col />
 
	  <col class="saturday" />
 
	  <col class="saturday collapsed" />
 
	  <col />
 
	  <col />
 
	</colgroup>
scripts/scheduleInput.js
Show inline comments
 
@@ -251,6 +251,10 @@ function add_section_n(cnum, name, synon
 
{
 
    jQuery('.pclass'+cnum).after(genSectionHtml_n(cnum, name, synonym, stime, etime, days, prof, location, type));
 
    sectionsOfClass[cnum] ++;
 

	
 
    /* unhide the saturday columns if it's used by autocomplete data */
 
    if (days.s)
 
	jQuery('#jsrows col.saturday').removeClass('collapsed');
 
}
 
function add_section(cnum)
 
{
styles/general.css
Show inline comments
 
@@ -201,7 +201,7 @@ td.center {
 
}
 

	
 
/* For now, hide Saturday on the input page even though it works perfectly fine */
 
.saturday
 
.collapsed
 
{
 
  /* http://www.w3.org/TR/CSS/tables.html#columns */
 
  visibility: collapse;
0 comments (0 inline, 0 general)