Fix method name.
authorJan Schneider <jan@horde.org>
Thu, 18 Feb 2010 22:33:19 +0000 (23:33 +0100)
committerJan Schneider <jan@horde.org>
Thu, 18 Feb 2010 22:33:19 +0000 (23:33 +0100)
kronolith/js/kronolith.js

index 0987ddb..a22ed8a 100644 (file)
@@ -2028,13 +2028,13 @@ KronolithCore = {
     {
         if ($('kronolithCalendarDialog')) {
             RedBox.showHtml($('kronolithCalendarDialog').show());
-            this.editCalendar(calendar);
+            this.editCalendarCallback(calendar);
         } else {
             RedBox.loading();
             this.doAction('ChunkContent', { chunk: 'calendar' }, function(r) {
                 if (r.response.chunk) {
                     RedBox.showHtml(r.response.chunk);
-                    this.editCalendar(calendar);
+                    this.editCalendarCallback(calendar);
                 } else {
                     this.closeRedBox();
                 }
@@ -2048,7 +2048,7 @@ KronolithCore = {
      *
      * @param string calendar  Calendar type and calendar id, separated by '|'.
      */
-    editCalendar: function(calendar)
+    editCalendarCallback: function(calendar)
     {
         calendar = calendar.split('|');
         var type = calendar[0];