fix i18n,reload problems

This commit is contained in:
Fu Matthew committed 2013-02-18 15:13:31 +08:00
1 parent 29bb92f841
commit a6f6dc271c
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'