added opening what section if errors

This commit is contained in:
Naomi 2011-02-11 11:16:15 -05:00
parent 9634a0735a
commit 2b1163a157

View file

@ -181,6 +181,9 @@ function setAddShowEvents() {
function showErrorSections() { function showErrorSections() {
if($("#schedule-show-what .errors").length > 0) {
$("#schedule-show-what").show();
}
if($("#schedule-show-when .errors").length > 0) { if($("#schedule-show-when .errors").length > 0) {
$("#schedule-show-when").show(); $("#schedule-show-when").show();
} }