Project

General

Profile

Bug #2225 » view.user-rev2.patch

krileon, 24 January 2011 20:49

View differences:

administrator/components/com_comprofiler/view/view.user.php
if (me['password'].style.backgroundColor.slice(0,3)=="red") me['password'].style.backgroundColor = cbDefaultFieldbackgroundColor;
if (me['password__verify'].style.backgroundColor.slice(0,3)=="red") me['password__verify'].style.backgroundColor = cbDefaultFieldbackgroundColor;
}
if (me['gid'].value == "") {
if (!$('input[name^=\"gid\"],select[name^=\"gid\"]').val()) {
errorMSG += '<?php echo addslashes( CBTxt::T('You must assign user to a group.') ); ?>' + "\n";
iserror=1;
}
(10-10/12)