Archived
more button fix and also new way to select more page.
This commit is contained in:
1 parent
7028390248
commit
e129b25554
12 files changed
+50
-14
No files matched your search
@@ -39,6 +39,7 @@ class DefaultWidgetController< OrbitWidgetController
|
||||
end
|
||||
|
||||
def default_widget
|
||||
|
||||
@search = params["search_query"].blank? ? false : true
|
||||
if !params[:id].blank? and !params["clicked_field_name"].blank?
|
||||
clicked_field_name = params["clicked_field_name"].to_sym
|
||||
@@ -91,6 +92,8 @@ class DefaultWidgetController< OrbitWidgetController
|
||||
@tag_class = 'default_widget_typeC'
|
||||
@partial = "typeC"
|
||||
end
|
||||
@more_url = Page.find(@page_part.more_link).path rescue nil
|
||||
# debugger
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user