widget link followed by setting
This commit is contained in:
1 parent
28f0df5da8
commit
3098496083
6 files changed
+22
-10
No files matched your search
@@ -6,6 +6,8 @@ module DefaultWidgetHelper
|
||||
def link_to_field(row_data,field, switch, options=nil)
|
||||
method_ary = @page_part.module_app.widget_fields_link_method
|
||||
field = field.to_sym
|
||||
options = options || {}
|
||||
options[:clicked_field_name] = field
|
||||
if(method_ary.has_key?(field) and (switch.to_s == "true"))
|
||||
url = case method_ary[field][:args]
|
||||
when nil # no args
|
||||
|
||||
Reference in new issue
Block a user