diff --git a/calendar/js/app.js b/calendar/js/app.js
index 7c1c60a7a9..72c4560db6 100644
--- a/calendar/js/app.js
+++ b/calendar/js/app.js
@@ -476,7 +476,7 @@ app.classes.calendar = AppJS.extend(
* @param {Array} exceptions an array contains number of exception entries
*
*/
- delete_btn: function(exceptions)
+ delete_btn: function(widget,exceptions)
{
var content = this.et2.getArrayMgr('content').data;
@@ -486,11 +486,11 @@ app.classes.calendar = AppJS.extend(
}
else if (content['recur_type'] !== 0)
{
- return confirm('Delete this series of recuring events');
+ et2_dialog.confirm(widget,'Delete this series of recuring events','Delete Series');
}
else
{
- return confirm('Delete this event');
+ et2_dialog.confirm(widget,'Delete this event','Delete');
}
},
diff --git a/calendar/templates/default/edit.xet b/calendar/templates/default/edit.xet
index 3bd89d7f1d..919684f260 100644
--- a/calendar/templates/default/edit.xet
+++ b/calendar/templates/default/edit.xet
@@ -173,7 +173,7 @@
-
+
@@ -270,7 +270,7 @@
-
+
@@ -308,8 +308,8 @@
-
-
+
+
@@ -320,9 +320,9 @@
-