From d73c30673a2241177dbe4e4f3b7e16cfcd6b4a64 Mon Sep 17 00:00:00 2001 From: manolobevia Date: Mon, 13 Jun 2011 15:06:40 +0000 Subject: [PATCH] NIHVIVO-2280: Delete function in main account page wasn't working. It has been fixed. --- webapp/web/js/account/accountUtils.js | 15 ++++++++------- .../body/accounts/userAccounts-list.ftl | 3 ++- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/webapp/web/js/account/accountUtils.js b/webapp/web/js/account/accountUtils.js index b797cd6f4..6f1aa0d69 100644 --- a/webapp/web/js/account/accountUtils.js +++ b/webapp/web/js/account/accountUtils.js @@ -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'); diff --git a/webapp/web/templates/freemarker/body/accounts/userAccounts-list.ftl b/webapp/web/templates/freemarker/body/accounts/userAccounts-list.ftl index eaa862d0b..0cfe7c7f8 100644 --- a/webapp/web/templates/freemarker/body/accounts/userAccounts-list.ftl +++ b/webapp/web/templates/freemarker/body/accounts/userAccounts-list.ftl @@ -196,7 +196,8 @@ | n accounts | <#assign counts = [25, 50, 100]> - <#list counts as count>