diff --git a/app/views/org_admin/sections/_section.html.erb b/app/views/org_admin/sections/_section.html.erb index 1cf76ca..4b50ed7 100644 --- a/app/views/org_admin/sections/_section.html.erb +++ b/app/views/org_admin/sections/_section.html.erb @@ -17,9 +17,9 @@
<% if local_assigns[:draggable] %> - - + <% end %>
diff --git a/lib/assets/javascripts/views/org_admin/phases/show.js b/lib/assets/javascripts/views/org_admin/phases/show.js index b8be4fe..f3fdc0f 100644 --- a/lib/assets/javascripts/views/org_admin/phases/show.js +++ b/lib/assets/javascripts/views/org_admin/phases/show.js @@ -1,6 +1,7 @@ import 'jquery-ui/ui/widgets/sortable'; $(() => { + console.log('TEST'); // Is there already one prefix section on this Phase? // // draggableSections - A jQuery object, the sortable element. @@ -15,7 +16,7 @@ // Initialize the draggable-sections element as a jQuery sortable. // Read the docs here for more info: http://api.jqueryui.com/sortable/ $('.draggable-sections').sortable({ - handle: 'i.fa-bars', + handle: 'i.fa-arrows', axis: 'y', cursor: 'move', beforeStop() {