NIHVIVO-2280: Delete function in main account page wasn't working. It has been fixed.

This commit is contained in:
manolobevia 2011-06-13 15:06:40 +00:00
parent d5f425b7a6
commit d73c30673a
2 changed files with 10 additions and 8 deletions

View file

@ -1,13 +1,14 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
// Change form actions in account main page
function changeAction(form, url) {
form.action = url;
return true;
}
$(document).ready(function(){
// Change form actions in account main page
function changeAction(form, url) {
form.action = url;
return true;
}
//Accounts per page
//Hide is javascrip is enable
$('input[name="accounts-per-page"]').addClass('hide');

View file

@ -196,7 +196,8 @@
<span>| <a href="#">n</a> accounts | </span>
<#assign counts = [25, 50, 100]>
<select name="accountsPerPage" class="accounts-per-page-bottom">
<select name="accountsPerPage" class="accounts-per-page">
<#list counts as count>
<option value="${count}" <#if accountsPerPage= count>selected</#if> >${count}</option>
</#list>