Fix method name, change js variable 'date' to 'theDate' to make Safari happy
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 10 Sep 2009 15:45:16 +0000 (11:45 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 10 Sep 2009 15:46:14 +0000 (11:46 -0400)
kronolith/lib/Application.php
kronolith/templates/edit/edit.inc

index 285baa5..bf0de90 100644 (file)
@@ -237,7 +237,7 @@ class Kronolith_Application extends Horde_Registry_Application
     /**
      * TODO
      */
-    protected function _prefsHandleFbCalsSelect()
+    protected function _prefsFbCalsSelect()
     {
         $fb_calsSelected = Horde_Util::getFormData('fb_cals');
         $fb_cals = Kronolith::listCalendars();
index 2c532fe..87d1f0b 100644 (file)
@@ -232,7 +232,7 @@ if ($event->alarm) {
 <tr>
  <td></td>
  <td colspan="4">
-  <?php echo Horde::link(Horde::applicationUrl('attendees.php'), '', 'button', '_blank', 'date = (\'000\' + $F(\'start_year\')).slice(-4) + (\'0\' + $F(\'start_month\')).slice(-2) + (\'0\' + $F(\'start_day\')).slice(-2); this.href += (this.href.indexOf(\'?\') == -1 ? \'?\' : \'&\') + \'date=\' + date;Horde.popup({ url: this.href });return false;') . _("Edit Attendees") . '</a>' ?>
+  <?php echo Horde::link(Horde::applicationUrl('attendees.php'), '', 'button', '_blank', 'theDate = (\'000\' + $F(\'start_year\')).slice(-4) + (\'0\' + $F(\'start_month\')).slice(-2) + (\'0\' + $F(\'start_day\')).slice(-2); this.href += (this.href.indexOf(\'?\') == -1 ? \'?\' : \'&\') + \'date=\' + theDate;Horde.popup({ url: this.href });return false;') . _("Edit Attendees and Resources") . '</a>' ?>
  </td>
 </tr>
 </tbody>