summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-02-09 11:24:36 +0100
committerspag <spag@golwen.net>2013-02-09 11:24:36 +0100
commit5fba89e83722e11232b1130a1a939d55aed94387 (patch)
treedfb08491ea125c8dd57b0c032e41f811ac342362
parentcc4dda2b37119e1364cf0a5362aedfae639bcbc7 (diff)
multiple css ids bug fixed
-rw-r--r--app/assets/javascripts/call_route.js.coffee2
-rw-r--r--app/assets/stylesheets/call_routes.css.scss2
-rw-r--r--app/views/call_routes/_index_core.html.haml2
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