ref: master
plugins/networks/views/networks_plugin_node/associate.js.erb
<% if @new_node.new_record? %> jQuery('#networks-node-associate').html("<%= j render('associate') %>"); <% else %> jQuery(".listing").html('<%= j render('networks_plugin_network/structure_listing') %>'); noosfero.modal.close(); <% end %>