Sha256: 4fa3d3546db552d422d3bedee31d254722f050245403825ecda219cea123f7e3

Contents?: true

Size: 437 Bytes

Versions: 12

Compression:

Stored size: 437 Bytes

Contents

- sort_by_menu_items = ["Field name", "Field label", "Field type", "Table name", "Display sequence", "Display block", "Display width", "Max size"].inject([]) do | items, sort_by|
  - items << %Q[{ name: "#{sort_by}", on_select: function() { #{redraw(:sort_by, sort_by.downcase!)} } }]

:plain
  new crm.Menu({
    trigger   : "sort_by",
    fade      : 0.5,
    appear    : 0.5,
    menu_items: [ #{sort_by_menu_items.join(",")} ]
  });

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
fat_free_crm-0.13.2 app/views/admin/fields/_sort_by.html.haml
fat_free_crm-0.12.3 app/views/admin/fields/_sort_by.html.haml
fat_free_crm-0.12.2 app/views/admin/fields/_sort_by.html.haml
fat_free_crm-0.13.1 app/views/admin/fields/_sort_by.html.haml
fat_free_crm-0.12.1 app/views/admin/fields/_sort_by.html.haml
fat_free_crm-0.13.0 app/views/admin/fields/_sort_by.html.haml
fat_free_crm-0.12.0 app/views/admin/fields/_sort_by.html.haml
fat_free_crm-0.11.4 app/views/admin/fields/_sort_by.html.haml
fat_free_crm-0.11.3 app/views/admin/fields/_sort_by.html.haml
fat_free_crm-0.11.2 app/views/admin/fields/_sort_by.html.haml
fat_free_crm-0.11.1 app/views/admin/fields/_sort_by.html.haml
fat_free_crm-0.11.0 app/views/admin/fields/_sort_by.html.haml