|
Lines 16-21
function delDescField(minusButton) {
Link Here
|
| 16 |
var li = $(minusButton).parent('li'); |
16 |
var li = $(minusButton).parent('li'); |
| 17 |
$(li).remove(); |
17 |
$(li).remove(); |
| 18 |
} |
18 |
} |
|
|
19 |
|
| 20 |
function confirmDelete() { |
| 21 |
return confirm(_("Are you sure you want to delete this OAI set?")); |
| 22 |
} |
| 23 |
|
| 24 |
$(document).ready(function() { |
| 25 |
$(".delete_oai_set").on("click",function(){ |
| 26 |
return confirmDelete(); |
| 27 |
}); |
| 28 |
}); |
| 19 |
//]]> |
29 |
//]]> |
| 20 |
</script> |
30 |
</script> |
| 21 |
</head> |
31 |
</head> |
|
Lines 104-110
function delDescField(minusButton) {
Link Here
|
| 104 |
<td> |
114 |
<td> |
| 105 |
<a href="/cgi-bin/koha/admin/oai_sets.pl?op=mod&id=[% set.id %]">Modify</a> |
115 |
<a href="/cgi-bin/koha/admin/oai_sets.pl?op=mod&id=[% set.id %]">Modify</a> |
| 106 |
| |
116 |
| |
| 107 |
<a href="/cgi-bin/koha/admin/oai_sets.pl?op=del&id=[% set.id %]">Delete</a> |
117 |
<a class="delete_oai_set" href="/cgi-bin/koha/admin/oai_sets.pl?op=del&id=[% set.id %]">Delete</a> |
| 108 |
| |
118 |
| |
| 109 |
<a href="/cgi-bin/koha/admin/oai_set_mappings.pl?id=[% set.id %]">Define mappings</a> |
119 |
<a href="/cgi-bin/koha/admin/oai_set_mappings.pl?id=[% set.id %]">Define mappings</a> |
| 110 |
</td> |
120 |
</td> |
| 111 |
- |
|
|