Skip to content

Commit

Permalink
Merge pull request #14334 from code-dot-org/change-dropdown-text
Browse files Browse the repository at this point in the history
Use "school/organization" for "other" school type
  • Loading branch information
ewjordan committed Apr 12, 2017
2 parents 6edbace + 6864081 commit 76e4ecc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/src/sites/studio/pages/schoolInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,10 @@ window.SchoolInfoManager = function (existingOptions) {
return $('#school-type').val() === 'afterschool';
}

function isOther() {
return $('#school-type').val() === 'other';
}

function isUs() {
return $('#school-country').val() === 'US';
}
Expand Down Expand Up @@ -283,7 +287,7 @@ window.SchoolInfoManager = function (existingOptions) {
show('#school-address');
}
}
if (isAfterSchool()) {
if (isAfterSchool() || isOther()) {
$("#school-name-title").hide();
$("#school-organization-name-title").show();
$("#school-zip-title").hide();
Expand Down

0 comments on commit 76e4ecc

Please sign in to comment.