Changeset 3088
- Timestamp:
- Jan 29, 2007, 2:52:18 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/admin/users/edit_user.jsp
r2978 r3088 199 199 return false; 200 200 } 201 <% 202 if (itemId == 0) 203 { 204 %> 205 else if (Main.trimString(frm.new_password.value) == '') 206 { 207 alert('You must enter a password for the user.'); 208 frm.new_password.focus(); 209 return false; 210 } 211 <% 212 } 213 %> 201 214 return true; 202 215 } … … 336 349 <tr> 337 350 <td class="prompt">New password</td> 338 <td colspan="2"><input <%= clazz%> type="password" name="new_password" value="" size="30" maxlength="30"></td>351 <td colspan="2"><input <%=itemId == 0 ? requiredClazz : clazz%> type="password" name="new_password" value="" size="30" maxlength="30"></td> 339 352 </tr> 340 353 <tr> 341 354 <td class="prompt">Retype password</td> 342 <td colspan="2"><input <%= clazz%> type="password" name="retype_password" value="" size="30" maxlength="30"></td>355 <td colspan="2"><input <%=itemId == 0 ? requiredClazz : clazz%> type="password" name="retype_password" value="" size="30" maxlength="30"></td> 343 356 </tr> 344 357 <tr valign="top">
Note: See TracChangeset
for help on using the changeset viewer.