projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1225039
)
CRM-12872 - Handle sorting links with ajax
author
Coleman Watts
<coleman@civicrm.org>
Wed, 20 Aug 2014 14:50:26 +0000
(15:50 +0100)
committer
Coleman Watts
<coleman@civicrm.org>
Wed, 20 Aug 2014 14:50:26 +0000
(15:50 +0100)
templates/CRM/common/pager.tpl
patch
|
blob
|
blame
|
history
diff --git
a/templates/CRM/common/pager.tpl
b/templates/CRM/common/pager.tpl
index 83edc911f51abe1fa9cf482b28826b6d95c953b2..744d084c59d3fba23d77ee47d84a1675cc4fba61 100644
(file)
--- a/
templates/CRM/common/pager.tpl
+++ b/
templates/CRM/common/pager.tpl
@@
-127,9
+127,10
@@
}
}, 200);
})
- .on('click', 'a.crm-pager-link, #alpha-filter a', function() {
+ // Handle sorting, paging and alpha filtering links
+ .on('click', 'a.crm-pager-link, #alpha-filter a, th a.sorting, th a.sorting_desc, th a.sorting_asc', function(e) {
refresh($(this).attr('href'));
-
return false
;
+
e.preventDefault()
;
});
});
{/literal}