NIHVIVO-2280: Removed javascript code for userAccounts-list.ftl to accountUtils.js
This commit is contained in:
parent
1077f283d6
commit
2118a510d7
2 changed files with 44 additions and 12 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue