To run: - ruby lib/remove_old_tags.rb DB_NAME - rake new_ui:migrate_tags - rake new_ui:migrate_categories['APP_KEY,''MODEL_NAME'] (check new_ui.rake for more details)
10 lines
298 B
ERB
10 lines
298 B
ERB
$('.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();
|
|
});
|
|
|