use translated text for delete confirmation
This commit is contained in:
parent
b32bcab91f
commit
287c585d3d
|
@ -315,7 +315,7 @@ while ( $event_row = dbFetchNext($results) ) {
|
|||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>Populaed by Javascript</p>
|
||||
<p><?php echo translate('ConfirmDeleteEvents') ?></p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button id="delCancelBtn" type="button" class="btn btn-secondary" data-dismiss="modal"><?php echo translate('Cancel') ?></button>
|
||||
|
|
|
@ -163,11 +163,7 @@ function initPage() {
|
|||
return;
|
||||
}
|
||||
|
||||
var modal = $j('#deleteConfirm');
|
||||
var selections = getIdSelections();
|
||||
|
||||
evt.preventDefault();
|
||||
modal.find('.modal-body p').text('You are about to delete '+selections.length+' events. Are you sure?');
|
||||
$j('#deleteConfirm').modal('show');
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue