2011-11-07 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* operation/events/events.php: Fixed confirmation in event deletion.
	
	Fixes: #3431148



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5120 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-11-07 14:38:12 +00:00
parent d1244cb29d
commit f14623fbb9
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2011-11-07 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/events/events.php: Fixed confirmation in event deletion.
Fixes: #3431148
2011-11-07 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/events/events_list.php: When an event doesn't have agent

View File

@ -397,6 +397,10 @@ $(document).ready( function() {
});
$("a.delete_event").click (function () {
confirmation = confirm("<?php echo __('Are you sure?'); ?>");
if (!confirmation){
return;
}
$tr = $(this).parents ("tr");
id = this.id.split ("-").pop ();
jQuery.post ("ajax.php",