Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dkuzelka2
PlanetRed
Commits
370c7171
Commit
370c7171
authored
Oct 06, 2011
by
Brett Bieber
Browse files
Properly quote attribute value in selector
parent
e78fff20
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/unl_theme/scripts/JS/enhanceProfileForm.php
View file @
370c7171
...
...
@@ -414,7 +414,7 @@
$
(
"
form select[name=form_data_profile_role] option[value='Friend of the University']
"
).
attr
(
'
selected
'
,
'
selected
'
);
break
;
}
$
(
'
form select[name=form_data_profile_role] option[value=
'
+
unlrole
+
'
]
'
).
attr
(
'
selected
'
,
'
selected
'
);
$
(
'
form select[name=form_data_profile_role] option[value=
"
'
+
unlrole
+
'
"
]
'
).
attr
(
'
selected
'
,
'
selected
'
);
/********* College selector */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment