Sort items from one list into another and vice versa, by passing a selector into the connectWith option. The simplest way to do this is to group all related lists with a CSS class, and then pass that class into the sortable function (i.e., connectWith: '.myclass').

alue='5.1-stable'>5.1-stable Mirror of redmine code source: https://github.com/redmine/redminewww-data
summaryrefslogtreecommitdiffstats
path: root/db/migrate/102_add_custom_fields_editable.rb
blob: 949f9db9d48b983993ef44c4a50241e66e888792 (plain)
1
2
3
4
5
6
7
8
9
class AddCustomFieldsEditable < ActiveRecord::Migration
  def self.up
    add_column :custom_fields, :editable, :boolean, :default => true
  end

  def self.down
    remove_column :custom_fields, :editable
  end
end