diff --git a/static/js/listToolbar.js b/static/js/listToolbar.js index 1052b83..6c80c39 100644 --- a/static/js/listToolbar.js +++ b/static/js/listToolbar.js @@ -16,7 +16,16 @@ oml.ui.listToolbar = function() { oml.$ui.sortElement = oml.ui.sortElement() ).append( oml.$ui.findElement = oml.ui.findElement() - ); + ) + .bindEvent({ + doubleclick: function(event) { + ( + ui.listView == 'list' + ? oml.$ui.list.$body + : oml.$ui.list + ).animate({scrollTop: 0}, 250); + } + }); return that;