mirror of
https://github.com/redmine/redmine.git
synced 2025-11-07 22:05:56 +01:00
ajaxified paginators
git-svn-id: http://redmine.rubyforge.org/svn/trunk@33 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -21,11 +21,12 @@ class CustomFieldsController < ApplicationController
|
||||
|
||||
def index
|
||||
list
|
||||
render :action => 'list'
|
||||
render :action => 'list' unless request.xhr?
|
||||
end
|
||||
|
||||
def list
|
||||
@custom_field_pages, @custom_fields = paginate :custom_fields, :per_page => 15
|
||||
@custom_field_pages, @custom_fields = paginate :custom_fields, :per_page => 15
|
||||
render :action => "list", :layout => false if request.xhr?
|
||||
end
|
||||
|
||||
def new
|
||||
|
||||
Reference in New Issue
Block a user