From 0ae2ebad94c0b7184b90ece92819c43d1275abc6 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 26 Aug 2013 08:02:19 +0000 Subject: [PATCH] adding ajax=true to index (no longer use an iframe), to enable drag-n-drop --- timesheet/setup/setup.inc.php | 3 ++- timesheet/setup/tables_update.inc.php | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/timesheet/setup/setup.inc.php b/timesheet/setup/setup.inc.php index 4f0efa20cf..f0843c9caf 100644 --- a/timesheet/setup/setup.inc.php +++ b/timesheet/setup/setup.inc.php @@ -17,10 +17,11 @@ if (!defined('TIMESHEET_APP')) } $setup_info[TIMESHEET_APP]['name'] = TIMESHEET_APP; -$setup_info[TIMESHEET_APP]['version'] = '1.8'; +$setup_info[TIMESHEET_APP]['version'] = '1.9.001'; $setup_info[TIMESHEET_APP]['app_order'] = 5; $setup_info[TIMESHEET_APP]['tables'] = array('egw_timesheet','egw_timesheet_extra'); $setup_info[TIMESHEET_APP]['enable'] = 1; +$setup_info[TIMESHEET_APP]['index'] = 'timesheet.timesheet_ui.index&ajax=true'; $setup_info[TIMESHEET_APP]['author'] = $setup_info[TIMESHEET_APP]['maintainer'] = array( diff --git a/timesheet/setup/tables_update.inc.php b/timesheet/setup/tables_update.inc.php index 6e4b18b0b7..b25c41478c 100644 --- a/timesheet/setup/tables_update.inc.php +++ b/timesheet/setup/tables_update.inc.php @@ -73,3 +73,9 @@ function timesheet_upgrade1_7_001() { return $GLOBALS['setup_info']['timesheet']['currentver'] = '1.8'; } + + +function timesheet_upgrade1_8() +{ + return $GLOBALS['setup_info']['timesheet']['currentver'] = '1.9.001'; +}