Skip to content

Commit

Permalink
#110 closed: 'No need for "Reset" button in "Account Admin" tab'
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatov committed Aug 2, 2011
1 parent 2b231a0 commit 19744a3
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/main/scala/scala/tools/colladoc/snippet/ProfileOps.scala
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ class ProfileOps {
</p>
<change:submit />
<change:save />
<change:reset />
</fieldset>
</lift:form>

Expand All @@ -193,12 +192,7 @@ class ProfileOps {
"new" -%> SHtml.password("", newPass = _, ("id", "new")),
"confirm" -%> SHtml.password("", confirm = _, ("id", "confirm")),
"submit" -> SHtml.hidden(doSave _),
"save" -> SHtml.a(Text("Save"), SubmitFormWithValidation(".change_password_form"), ("class", "button")),
"reset" -> SHtml.a(Text("Reset"),
SetValById("old", Str(oldPass)) &
SetValById("new", Str(newPass)) &
SetValById("confirm", Str(confirm)),
("class", "button"))
"save" -> SHtml.a(Text("Save"), SubmitFormWithValidation(".change_password_form"), ("class", "button"))
)
}

Expand Down

0 comments on commit 19744a3

Please sign in to comment.