$Id$
+Sat Dec 10 20:48:40 EST 2005 ajc
+* wclib.js: transmit the "no floors expanded" condition to the server.
+
Sat Dec 10 17:44:51 EST 2005 ajc
* Switched our TinyMCE call to the "advanced" theme. Also enabled
the IESpell plugin (when Internet Explorer is in use).
$(which_div_expanded).style.display = 'none' ;
}
}
+
+ // clicking on the already-expanded floor causes the whole list to collapse
if (which_div_expanded == floor_div) {
which_div_expanded = null;
+
+ // notify the server that no floors are expanded
+ new Ajax.Request(
+ 'set_floordiv_expanded/-1', {
+ method: 'post'
+ }
+ );
return true;
}
+
+ // expand the requested floor
$(floor_div).style.display = 'block';
which_div_expanded = floor_div;
- // notify the server of what we did
+ // notify the server of which floor is expanded
new Ajax.Request(
'set_floordiv_expanded/'+floor_div, {
method: 'post'