You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
355 B
9 lines
355 B
$("#journal-<%= @journal.id %>-notes").hide();
|
|
$('#new_form_reference_user_id').val('');
|
|
if ($("form#journal-<%= @journal.id %>-form").length > 0) {
|
|
// journal edit form already loaded
|
|
$("#journal-<%= @journal.id %>-form").show();
|
|
} else {
|
|
$("#journal-<%= @journal.id %>-notes").after('<%= escape_javascript(render :partial => 'notes_form') %>');
|
|
}
|