Widget enable column_title by default

This commit is contained in:
Manson Wang 2014-02-21 15:13:25 +08:00
parent 090af47b7b
commit 2f87ce09a4
1 changed files with 2 additions and 4 deletions

View File

@ -26,8 +26,6 @@ module OrbitApp
def initialize(name,key,&block) def initialize(name,key,&block)
@widgets = [] @widgets = []
@default_widget = nil @default_widget = nil
@widget_title_enabled = true
@column_title_enabled = false
@categories_query = '' @categories_query = ''
@tags_query = '' @tags_query = ''
block.arity < 1 ? instance_eval(&block) : block.call(self) if block_given? block.arity < 1 ? instance_eval(&block) : block.call(self) if block_given?
@ -103,8 +101,8 @@ module OrbitApp
def initialize(&block) def initialize(&block)
@query = nil @query = nil
@widget_title_enabled = true @widget_title_enabled = false
@column_title_enabled = false @column_title_enabled = true
@image = nil @image = nil
@more_link = {} @more_link = {}
@fields = [] @fields = []