diff --git a/webapp/web/js/account/accountUtils.js b/webapp/web/js/account/accountUtils.js index c95585c2c..b797cd6f4 100644 --- a/webapp/web/js/account/accountUtils.js +++ b/webapp/web/js/account/accountUtils.js @@ -2,9 +2,15 @@ $(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 disable - $('.accounts-per-page-form input[type="submit"]').hide(); + //Hide is javascrip is enable + $('input[name="accounts-per-page"]').addClass('hide'); $('.accounts-per-page').change(function() { $('#account-display').submit(); diff --git a/webapp/web/templates/freemarker/body/accounts/userAccounts-list.ftl b/webapp/web/templates/freemarker/body/accounts/userAccounts-list.ftl index a526db236..eaa862d0b 100644 --- a/webapp/web/templates/freemarker/body/accounts/userAccounts-list.ftl +++ b/webapp/web/templates/freemarker/body/accounts/userAccounts-list.ftl @@ -107,13 +107,6 @@ - -
@@ -126,6 +119,7 @@ | n accounts | <#assign counts = [25, 50, 100]> + - - - accounts per page | + accounts per page | <#if page.previous?has_content> Previous @@ -192,6 +184,40 @@ + +
+ + + + +
${scripts.add('')} \ No newline at end of file