-function [% form_prefix %]_delete() {
- var checkboxes = $('.record_links_delete').filter(function () { return $(this).attr('checked'); });
+function record_links_add() {
+ open_jqm_window({ url: 'controller.pl',
+ data: { action: 'RecordLinks/ajax_add_filter',
+ object_model: '[% JavaScript.escape(object_model) %]',
+ object_id: '[% JavaScript.escape(object_id) %]'
+ },
+ id: 'record_links_add' });
+ return true;
+}
+
+function record_links_delete() {
+ var checkboxes = $('.record_links_delete').filter(function () { return $(this).prop('checked'); });