We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff82155 commit e4cf794Copy full SHA for e4cf794
app/views/human_resource_items/index.html.erb
@@ -42,5 +42,12 @@
42
<% end %>
43
44
<%= javascript_tag do %>
45
- $(function() { $("table.resource_items tbody").positionedItems(); });
+ $(function() {
46
+ $("table.resource_items tbody").positionedItems({
47
+ scroll: false,
48
+ sort: function (event, ui) {
49
+ ui.helper.css({'top': ui.position.top + $(window).scrollTop() + 'px'});
50
+ },
51
+ });
52
53
0 commit comments