##// END OF EJS Templates
Rails4: replace deprecated Relation#count with finder options at UsersHelper#users_status_options_for_select...
Rails4: replace deprecated Relation#count with finder options at UsersHelper#users_status_options_for_select git-svn-id: http://svn.redmine.org/redmine/trunk@12612 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r10762:b99a6f11f3b3
r12337:fa544d99345f
Show More
edit.js.erb
8 lines | 314 B | text/plain | TextLexer
$("#journal-<%= @journal.id %>-notes").hide();
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') %>');
}