Sha256: 30ebb51cbeb387708d910f27446e2cbb97627b2db942aacaaafe940de9ab94e0

Contents?: true

Size: 460 Bytes

Versions: 176

Compression:

Stored size: 460 Bytes

Contents

// We render this view if there was a validation error submitting the foundation reveal modal.
// Replace the original content so that error messages are displayed.
var modal = $("#send-message-modal")
$(modal).html("<%= j(render 'form', form: form, patient: patient, recipient_options: recipient_options) %>");
// TODO: The re-initializing of select2 in a modal should be a global handler
$('.searchable_select', modal).select2();
Renalware.Messaging.init();

Version data entries

176 entries across 176 versions & 1 rubygems

Version Path
renalware-core-2.0.62 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.61 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.60 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.58 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.57 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.56 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.55 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.54 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.53 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.52 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.51 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.50 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.48 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.47 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.46 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.45 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.44 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.43 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.42 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.41 app/views/renalware/messaging/internal/messages/new.js.erb