var node = $('ue_profile').parentNode;
node.removeChild($('ue_profile'));
node.appendChild(elem('span',null,groupsCache[patron.profile()].name()));
+
+ var field = uEditFindFieldByKey('profile');
+ field.required = false;
+ uEditCheckErrors();
}
function uEditCheckValid(field) {
var newval = uEditNodeVal(field);
+
if(newval) {
if(field.widget.regex) {
<td>
<div class='wide left'>
<select id='ue_profile' class='select_big'>
- <option> -- Required -- </option>
+ <option value=''> -- Required -- </option>
</select>
</div>
</td>