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.40 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.39 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.38 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.37 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.36 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.35 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.34 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.33 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.32 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.31 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.30 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.28 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.27 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.26 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.25 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.24 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.23 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.22 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.21 app/views/renalware/messaging/internal/messages/new.js.erb
renalware-core-2.0.20 app/views/renalware/messaging/internal/messages/new.js.erb