This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/assets/Archive/javascripts/archive_plugin_form.js.erb

10 lines
298 B
Plaintext

$('.plugin_files_block a.delete').live('click', function(){
$(this).parents('.list_item').remove();
});
$(document).on('click', '.action a.remove_existing_record', function(){
$(this).next('.should_destroy').attr('value', 1);
$("tr#plugin_file_" + $(this).prev().attr('value')).hide();
});