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:
parent
d1244cb29d
commit
f14623fbb9
|
@ -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>
|
2011-11-07 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||||
|
|
||||||
* operation/events/events_list.php: When an event doesn't have agent
|
* operation/events/events_list.php: When an event doesn't have agent
|
||||||
|
|
|
@ -397,6 +397,10 @@ $(document).ready( function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
$("a.delete_event").click (function () {
|
$("a.delete_event").click (function () {
|
||||||
|
confirmation = confirm("<?php echo __('Are you sure?'); ?>");
|
||||||
|
if (!confirmation){
|
||||||
|
return;
|
||||||
|
}
|
||||||
$tr = $(this).parents ("tr");
|
$tr = $(this).parents ("tr");
|
||||||
id = this.id.split ("-").pop ();
|
id = this.id.split ("-").pop ();
|
||||||
jQuery.post ("ajax.php",
|
jQuery.post ("ajax.php",
|
||||||
|
|
Loading…
Reference in New Issue