From 5e4b40665fa11ce0fd0fe957a19e2b7e63f47446 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sat, 17 May 2014 17:35:39 -0400 Subject: Rewrite board drag and drop with jquery (touch devices, IE, auto-update) --- events/task_modification.php | 51 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 events/task_modification.php (limited to 'events') diff --git a/events/task_modification.php b/events/task_modification.php new file mode 100644 index 00000000..97ee73fd --- /dev/null +++ b/events/task_modification.php @@ -0,0 +1,51 @@ +project = $project; + } + + /** + * Execute the action + * + * @access public + * @param array $data Event data dictionary + * @return bool True if the action was executed or false when not executed + */ + public function execute(array $data) + { + if (isset($data['project_id'])) { + $this->project->updateModificationDate($data['project_id']); + return true; + } + + return false; + } +} -- cgit v1.2.3