diff options
| author | Nick Palmer <nick@sluggardy.net> | 2007-04-05 21:21:04 +0000 |
|---|---|---|
| committer | Nick Palmer <nick@sluggardy.net> | 2007-04-05 21:21:04 +0000 |
| commit | eff3066d15180477a842ca9595eaf2525f10b435 (patch) | |
| tree | b2230bb4bd29abbc2f587ae24075dac82c0fd19d /admin | |
| parent | 16f093924f550889173b5cfaeb0e7aee50ea12d1 (diff) | |
| download | calendar-eff3066d15180477a842ca9595eaf2525f10b435.tar.gz calendar-eff3066d15180477a842ca9595eaf2525f10b435.tar.bz2 calendar-eff3066d15180477a842ca9595eaf2525f10b435.zip | |
Add support for new ajax popups in the calendar.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/admin_calendar_inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/admin_calendar_inc.php b/admin/admin_calendar_inc.php index 9a94335..88fda10 100644 --- a/admin/admin_calendar_inc.php +++ b/admin/admin_calendar_inc.php @@ -20,13 +20,13 @@ $calendarValues = array( 'calendar_day_start', 'calendar_day_end', 'calendar_user_prefs', + 'calendar_ajax_popups', ); - // this function only exists if it's been included by the index.php page. if // it's been included from anywhere else, we don't execute this section if( function_exists( 'simple_set_value' ) && $gBitUser->isAdmin() && !empty( $_REQUEST['calendar_submit'] ) ) { foreach( $calendarValues as $item ) { - if ( $item != 'calendar_user_prefs' ) + if ( $item != 'calendar_user_prefs' && $item != 'calendar_ajax_popups') simple_set_value( $item, CALENDAR_PKG_NAME ); else simple_set_toggle( $item, CALENDAR_PKG_NAME ); |
