fix i18n,reload problems

This commit is contained in:
Fu Matthew authored and chris committed 2013-02-19 14:21:54 +08:00
1 parent b7d797f9dd
commit 0a115906f1
44 files changed
+185 -66

No files matched your search

@@ -24,7 +24,6 @@ class DefaultWidgetController< OrbitWidgetController
@page_part.widget_data_count.is_a?(Fixnum) ? @page_part.widget_data_count : (@page_part.widget_data_count.to_i rescue 3)
end
@data = eval(@default_widget["query"]).limit(data_limit).includes(@widget_image_field)
case params[:type]
when "typeA"
@tag_class = 'default_widget_typeA'