Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorRaphael Sofaer <raphael@joindiaspora.com>2011-07-29 02:51:00 +0400
committerRaphael Sofaer <raphael@joindiaspora.com>2011-07-29 02:51:00 +0400
commit8ce5e72519ca24e6d540f3685389d072f1dd30f9 (patch)
tree06927f83cf3ce58cf4010a5abc7853b8977fbe0b /app
parentee95def580165b425ffb8ed828d72e4033a34da1 (diff)
Use data-aspect_id, because integer html ids freak me out.
Diffstat (limited to 'app')
-rw-r--r--app/views/aspects/_aspect_listings.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/aspects/_aspect_listings.haml b/app/views/aspects/_aspect_listings.haml
index 76b8dada7..edf27e7c6 100644
--- a/app/views/aspects/_aspect_listings.haml
+++ b/app/views/aspects/_aspect_listings.haml
@@ -11,7 +11,7 @@
%ul.sub_nav
- for aspect in all_aspects
- %li{:id => aspect.id, :class => ("active" if params["a_id"].to_i == aspect.id)}
+ %li{:data => {:aspect_id => aspect.id}, :class => ("active" if params["a_id"].to_i == aspect.id)}
.edit
= link_to image_tag("icons/pencil.svg", :height => 12), edit_aspect_path(aspect), :rel => "facebox"