diff QuestionnaireViewController.mm @ 29:fabb3a5cdfc9

Timed session improvements. Desperate pathetic attempts to send a simple HTTP POST.
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Fri, 22 Feb 2013 17:41:38 +0000
parents e2c62db1e265
children 23ef179c3748
line wrap: on
line diff
--- a/QuestionnaireViewController.mm	Mon Feb 18 11:45:05 2013 +0000
+++ b/QuestionnaireViewController.mm	Fri Feb 22 17:41:38 2013 +0000
@@ -105,11 +105,11 @@
         
     }
     const char *userComments = [self.commentText.text cStringUsingEncoding: NSUTF8StringEncoding];
-    
-    ((testApp *)self.theOFAppRef)->questionnaireHidden(answersArray, userComments);
     [self.commentText resignFirstResponder];
     
 	self.view.hidden = YES;
+    ((testApp *)self.theOFAppRef)->questionnaireHidden(answersArray, userComments);
+    
 }
 
 //----------------------------------------------------------------
@@ -156,7 +156,7 @@
     
     self.commentText.hidden = NO;
     
-    self.questionText.text = @"Thanks for helping science help you. Feel free to add further comments in the text box below, and then press 'finish' to go back to the app.";
+    self.questionText.text = @"Thanks for helping science help you. Feel free to add further comments in the text box below, and then press 'finish' to go back and use the app, unhassled.";
 }
 
 //----------------------------------------------------------------