Sha256: e7b94f73e6f946a9b088a0b12af7c8642733073a2bf7ea56d72dbdb562bc10fa

Contents?: true

Size: 316 Bytes

Versions: 5

Compression:

Stored size: 316 Bytes

Contents

- if @list.valid?
  $('#lists').replaceWith('#{ j render(partial: "lists/lists") }');
  $('.list_save').show();

- else # Couldn't create the saved list -- validation failed.
  $form = $('.lists .list_form:visible')
  $form.find("[name='list[name]']").focus();
  $form.find("[type=submit]").prop('disabled', false);

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 app/views/lists/create.js.haml
fat_free_crm-0.22.0 app/views/lists/create.js.haml
fat_free_crm-0.21.0 app/views/lists/create.js.haml
fat_free_crm-0.20.1 app/views/lists/create.js.haml
fat_free_crm-0.20.0 app/views/lists/create.js.haml