fix widget field reload

This commit is contained in:
Fu Matthew authored and chris committed 2013-02-27 10:51:41 +08:00
1 parent 071e8a349c
commit 0dabd5b95f
9 files changed
+50 -21

No files matched your search

@@ -0,0 +1,12 @@
module DefaultWidgetTagHelper
include Renderer
include AdminHelper
def link_to_more_tag(req,params)
@request = req
@params =params
content_tag :div,:class=> 'more' do
link_to I18n.t(@more_link[:label_i18n]),eval(@more_link[:path_method])
end
end
end
+1 -1
View File
@@ -36,7 +36,7 @@ module OrbitApp
@side_bar = nil
@front_end_app_pages = nil
@module_label = 'rulingcom.errors.init.module_app_noname'
@data_count = 1..3 # as default
@data_count = 1..15 # as default
block.arity < 1 ? instance_eval(&block) : block.call(self) if block_given?
setup_module_app
end