Lines 194-202
function clearFormElements(divId) {
Link Here
|
194 |
|
194 |
|
195 |
} |
195 |
} |
196 |
|
196 |
|
|
|
197 |
function confirmDeleteAction() { |
198 |
return confirm(_("Are you sure you wish to delete this template action?")); |
199 |
} |
200 |
|
197 |
function confirmDelete() { |
201 |
function confirmDelete() { |
198 |
var agree = confirm(_("Are you sure you wish to delete this template?")); |
202 |
return confirm(_("Are you sure you wish to delete this template?")); |
199 |
return agree; |
|
|
200 |
} |
203 |
} |
201 |
|
204 |
|
202 |
var modaction_legend_innerhtml; |
205 |
var modaction_legend_innerhtml; |
Lines 443-449
function setSelectByValue( selectId, value ) {
Link Here
|
443 |
"[% ActionsLoo.conditional_regex |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]", |
446 |
"[% ActionsLoo.conditional_regex |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]", |
444 |
"[% ActionsLoo.description |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]" |
447 |
"[% ActionsLoo.description |replace('\\\\', '\\\\') |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]" |
445 |
);updateAllEvery();'>Edit</a></td> |
448 |
);updateAllEvery();'>Edit</a></td> |
446 |
<td><a href="marc_modification_templates.pl?template_id=[% ActionsLoo.template_id %]&op=delete_action&mmta_id=[% ActionsLoo.mmta_id %]">Delete</a></td> |
449 |
<td><a href="marc_modification_templates.pl?template_id=[% ActionsLoo.template_id %]&op=delete_action&mmta_id=[% ActionsLoo.mmta_id %]" onclick="return confirmDeleteAction();">Delete</a></td> |
447 |
</tr> |
450 |
</tr> |
448 |
[% END %] |
451 |
[% END %] |
449 |
</table> |
452 |
</table> |
450 |
- |
|
|