From 636ab6f42964c24e9c51a434b9ab95978b954d79 Mon Sep 17 00:00:00 2001 From: Stephan Toggweiler Date: Wed, 5 Jun 2013 17:38:42 +0200 Subject: [PATCH] Promotion update_table_data for Formotion --- lib/ProMotion/screens/_compatibility/formotion_screen.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/ProMotion/screens/_compatibility/formotion_screen.rb b/lib/ProMotion/screens/_compatibility/formotion_screen.rb index 1846ade..863ae61 100644 --- a/lib/ProMotion/screens/_compatibility/formotion_screen.rb +++ b/lib/ProMotion/screens/_compatibility/formotion_screen.rb @@ -19,6 +19,13 @@ module ProMotion s end + + # emulate the ProMotion table update for formotion + def update_table_data + self.form = table_data + self.form.controller = self + self.tableView.reloadData + end def viewDidLoad super