diff options
-rw-r--r-- | app/assets/javascripts/call_route.js.coffee | 2 | ||||
-rw-r--r-- | app/assets/stylesheets/call_routes.css.scss | 2 | ||||
-rw-r--r-- | app/views/call_routes/_index_core.html.haml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/call_route.js.coffee b/app/assets/javascripts/call_route.js.coffee index 91d62ca..fab7f10 100644 --- a/app/assets/javascripts/call_route.js.coffee +++ b/app/assets/javascripts/call_route.js.coffee @@ -1,5 +1,5 @@ jQuery -> - $('#call_routes').sortable + $('.call_routes').sortable axis: 'y' handle: '.handle' update: -> diff --git a/app/assets/stylesheets/call_routes.css.scss b/app/assets/stylesheets/call_routes.css.scss index 7face3b..d39e1d1 100644 --- a/app/assets/stylesheets/call_routes.css.scss +++ b/app/assets/stylesheets/call_routes.css.scss @@ -1,4 +1,4 @@ -#call_routes .handle { +.call_routes .handle { font-size: 12px; color: #777; cursor: move; diff --git a/app/views/call_routes/_index_core.html.haml b/app/views/call_routes/_index_core.html.haml index 6f2eadd..a62a9c4 100644 --- a/app/views/call_routes/_index_core.html.haml +++ b/app/views/call_routes/_index_core.html.haml @@ -7,7 +7,7 @@ %th= t('route_elements.index.pattern') %th= t('call_routes.index.endpoint') - %tbody{ :id => "call_routes_#{routing_table}", :'data-update-url' => sort_call_routes_url} + %tbody{ :class => "call_routes", :id => "call_routes_#{routing_table}", :'data-update-url' => sort_call_routes_url} - for call_route in call_routes - cache(['call_route_single_table_row', I18n.locale, call_route]) do = content_tag_for :tr, call_route do |