Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
});
function confirm_deletion() {
- var is_confirmed = confirm(_('Are you sure you want to delete this authority?'));
- if (is_confirmed) {
- window.location="authorities-home.pl?op=delete&authid=[% authid %]";
- }
+ var is_confirmed = confirm(_("Are you sure you want to delete this authority?"));
+ if (is_confirmed) {
+ window.location="authorities-home.pl?op=delete&authid=[% authid %]";
+ }
}
function Dopop(link) {
newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
<script type="text/javascript" >
//<![CDATA[
function confirm_deletion(id) {
- var is_confirmed = confirm(_('Are you sure you want to delete this authority?'));
+ var is_confirmed = confirm(_("Are you sure you want to delete this authority?"));
if (is_confirmed) {
window.location="authorities-home.pl?op=delete"
+ "&authid=" + id