NIHVIVO-2280: Refactored delete button for account main page

This commit is contained in:
manolobevia 2011-06-23 20:57:35 +00:00
parent f64db6f406
commit 3f485ee007
2 changed files with 1 additions and 2 deletions

View file

@ -187,5 +187,4 @@
<@p.accountsNav /> <@p.accountsNav />
</form> </form>
${scripts.add('<script type="text/javascript" src="${urls.base}/js/account/accountUtils.js"></script>')} ${scripts.add('<script type="text/javascript" src="${urls.base}/js/account/accountUtils.js"></script>')}

View file

@ -10,7 +10,7 @@
<#macro accountsNav accountsCount=counts> <#macro accountsNav accountsCount=counts>
<section class="accounts"> <section class="accounts">
<input type="submit" name="delete-account" class="delete-account submit" value="Delete" onClick="changeAction(this.form, '${formUrls.delete}')" /> <input type="submit" name="delete-account" class="delete-account delete" value="Delete" onClick="changeAction(this.form, '${formUrls.delete}')" />
<!-- <!--
When this is clicked, the checkboxes are noticed and all other fields are ignored. When this is clicked, the checkboxes are noticed and all other fields are ignored.
submit the form (submit action is formUrls.delete) submit the form (submit action is formUrls.delete)