diff options
Diffstat (limited to 'app/Resources/static/themes/material/js/tools.js')
-rw-r--r-- | app/Resources/static/themes/material/js/tools.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/Resources/static/themes/material/js/tools.js b/app/Resources/static/themes/material/js/tools.js index 0b3d3038..8563a14a 100644 --- a/app/Resources/static/themes/material/js/tools.js +++ b/app/Resources/static/themes/material/js/tools.js | |||
@@ -29,8 +29,16 @@ function initRandom() { | |||
29 | } | 29 | } |
30 | } | 30 | } |
31 | 31 | ||
32 | function initSort() { | ||
33 | // no display if export (ie: entries) not available | ||
34 | if ($('div').is('#sort')) { | ||
35 | $('#button_sort').show(); | ||
36 | } | ||
37 | } | ||
38 | |||
32 | export { | 39 | export { |
33 | initExport, | 40 | initExport, |
34 | initFilters, | 41 | initFilters, |
35 | initRandom, | 42 | initRandom, |
43 | initSort, | ||
36 | }; | 44 | }; |