From 2f87ce09a40a90f9a4a964894399f8d7d951b05e Mon Sep 17 00:00:00 2001 From: Manson Wang Date: Fri, 21 Feb 2014 15:13:25 +0800 Subject: [PATCH] Widget enable column_title by default --- lib/orbit_app/module/widget.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/orbit_app/module/widget.rb b/lib/orbit_app/module/widget.rb index 1ca4cac..ca5fd56 100644 --- a/lib/orbit_app/module/widget.rb +++ b/lib/orbit_app/module/widget.rb @@ -26,8 +26,6 @@ module OrbitApp def initialize(name,key,&block) @widgets = [] @default_widget = nil - @widget_title_enabled = true - @column_title_enabled = false @categories_query = '' @tags_query = '' block.arity < 1 ? instance_eval(&block) : block.call(self) if block_given? @@ -103,8 +101,8 @@ module OrbitApp def initialize(&block) @query = nil - @widget_title_enabled = true - @column_title_enabled = false + @widget_title_enabled = false + @column_title_enabled = true @image = nil @more_link = {} @fields = []