Skip to content
Snippets Groups Projects
Commit 6ea59a32 authored by Seth Meranda's avatar Seth Meranda
Browse files

Added an option to the form for "Did not Attend UNL"

parent b035c1c4
No related branches found
No related tags found
No related merge requests found
...@@ -168,7 +168,7 @@ if ($vars['title'] == "Edit profile") { ...@@ -168,7 +168,7 @@ if ($vars['title'] == "Edit profile") {
var selFrom = document.createElement("select"); var selFrom = document.createElement("select");
selFrom.name = "form_data_profile_attended_from"; selFrom.name = "form_data_profile_attended_from";
x = 1940; x = 1940;
html = ""; html = "<option>Did Not Attend UNL</option>";
while (x++ < curYear + 6) { while (x++ < curYear + 6) {
html+= '<option'; html+= '<option';
if (x == from_year) { if (x == from_year) {
...@@ -183,7 +183,7 @@ if ($vars['title'] == "Edit profile") { ...@@ -183,7 +183,7 @@ if ($vars['title'] == "Edit profile") {
var selTo = document.createElement("select"); var selTo = document.createElement("select");
selTo.name = "form_data_profile_attended_to"; selTo.name = "form_data_profile_attended_to";
x = 1940; x = 1940;
html = ""; html = "<option>Did Not Attend UNL</option>";
while (x++ < curYear + 6) { while (x++ < curYear + 6) {
html+= '<option'; html+= '<option';
if (x == to_year) { if (x == to_year) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment