diff --git a/Classes/ChatRoomViewController.h b/Classes/ChatRoomViewController.h
index 82a8a2a75..a93f3275e 100644
--- a/Classes/ChatRoomViewController.h
+++ b/Classes/ChatRoomViewController.h
@@ -49,5 +49,6 @@
- (IBAction)onEditClick:(id)event;
- (IBAction)onMessageChange:(id)sender;
- (IBAction)onSendClick:(id)event;
+- (IBAction)onListTap:(id)sender;
@end
diff --git a/Classes/ChatRoomViewController.m b/Classes/ChatRoomViewController.m
index 154b670d2..8fe55b620 100644
--- a/Classes/ChatRoomViewController.m
+++ b/Classes/ChatRoomViewController.m
@@ -292,6 +292,7 @@ static void message_status(LinphoneChatMessage* msg,LinphoneChatMessageState sta
- (IBAction)onEditClick:(id)event {
[tableController setEditing:![tableController isEditing] animated:TRUE];
+ [messageField resignFirstResponder];
}
- (IBAction)onSendClick:(id)event {
@@ -300,6 +301,10 @@ static void message_status(LinphoneChatMessage* msg,LinphoneChatMessageState sta
}
}
+- (IBAction)onListTap:(id)sender {
+ [messageField resignFirstResponder];
+}
+
- (IBAction)onMessageChange:(id)sender {
if([[messageField text] length] > 0) {
[sendButton setEnabled:TRUE];
diff --git a/Classes/en.lproj/ChatRoomViewController.xib b/Classes/en.lproj/ChatRoomViewController.xib
index 3b1a431c4..5bae93e66 100644
--- a/Classes/en.lproj/ChatRoomViewController.xib
+++ b/Classes/en.lproj/ChatRoomViewController.xib
@@ -17,6 +17,7 @@
IBUILabel
IBUITableView
IBUITableViewController
+ IBUITapGestureRecognizer
IBUITextView
IBUIView
@@ -144,6 +145,7 @@
MQA
YES
+
IBCocoaTouchFramework
YES
0
@@ -162,6 +164,7 @@
{{250, 0}, {70, 59}}
+
_NS:9
NO
+
31
+
onBackClick:
@@ -512,12 +527,20 @@
33
+
+
+ onListTap:
+
+
+
+ 62
+
0
-
+
@@ -619,6 +642,7 @@
8
+
tableView
@@ -651,6 +675,12 @@
messageField
+
+ 58
+
+
+ listTapGestureRecognizer
+
@@ -674,6 +704,7 @@
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
+ com.apple.InterfaceBuilder.IBCocoaTouchPlugin
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
@@ -685,7 +716,7 @@
- 57
+ 62
@@ -703,6 +734,7 @@
id
id
+ id
id
id
@@ -715,6 +747,10 @@
onEditClick:
id
+
+ onListTap:
+ id
+
onMessageChange:
id
diff --git a/Classes/fr.lproj/ChatRoomViewController.xib b/Classes/fr.lproj/ChatRoomViewController.xib
index 86e584f55..4998f284e 100644
--- a/Classes/fr.lproj/ChatRoomViewController.xib
+++ b/Classes/fr.lproj/ChatRoomViewController.xib
@@ -15,6 +15,7 @@
IBUIImageView
IBUILabel
IBProxyObject
+ IBUITapGestureRecognizer
IBUITableViewController
IBUITableView
IBUITextView
@@ -139,6 +140,7 @@
MQA
YES
+
IBCocoaTouchFramework
YES
0
@@ -342,6 +344,7 @@
_NS:9
+
IBCocoaTouchFramework
@@ -354,6 +357,7 @@
IBCocoaTouchFramework
NO
+
@@ -461,6 +465,16 @@
31
+
+
+ gestureRecognizers
+
+
+ NSArray
+ YES
+
+ 61
+
onBackClick:
@@ -496,12 +510,20 @@
33
+
+
+ onListTap:
+
+
+
+ 62
+
0
-
+
@@ -603,6 +625,7 @@
8
+
tableView
@@ -635,6 +658,12 @@
messageField
+
+ 58
+
+
+ listTapGestureRecognizer
+
@@ -658,6 +687,7 @@
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
+ com.apple.InterfaceBuilder.IBCocoaTouchPlugin
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
@@ -669,7 +699,7 @@
- 57
+ 62
@@ -687,6 +717,7 @@
id
id
+ id
id
id
@@ -699,6 +730,10 @@
onEditClick:
id
+
+ onListTap:
+ id
+
onMessageChange:
id
diff --git a/linphone.ldb/Contents.plist b/linphone.ldb/Contents.plist
index d4220eca9..15280059c 100644
--- a/linphone.ldb/Contents.plist
+++ b/linphone.ldb/Contents.plist
@@ -212,17 +212,17 @@
backup
- 1
+ 3
class
BLWrapperHandle
name
- Classes/ChatRoomViewController/1/ChatRoomViewController.xib
+ Classes/ChatRoomViewController/3/ChatRoomViewController.xib
change date
- 2012-09-10T15:21:35Z
+ 2012-09-13T13:08:20Z
changed values
class
@@ -232,7 +232,7 @@
flags
0
hash
- 73bafe5878db223f8ccca7a749e21d89
+ c2184e590274d82e838a91d16b383b3d
name
ChatRoomViewController.xib
@@ -442,9 +442,9 @@
versions
en
- 1
+ 3
fr
- 1
+ 3
diff --git a/linphone.ldb/Resources/Classes/ChatRoomViewController/1/ChatRoomViewController.xib b/linphone.ldb/Resources/Classes/ChatRoomViewController/3/ChatRoomViewController.xib
similarity index 95%
rename from linphone.ldb/Resources/Classes/ChatRoomViewController/1/ChatRoomViewController.xib
rename to linphone.ldb/Resources/Classes/ChatRoomViewController/3/ChatRoomViewController.xib
index 3b1a431c4..5bae93e66 100644
--- a/linphone.ldb/Resources/Classes/ChatRoomViewController/1/ChatRoomViewController.xib
+++ b/linphone.ldb/Resources/Classes/ChatRoomViewController/3/ChatRoomViewController.xib
@@ -17,6 +17,7 @@
IBUILabel
IBUITableView
IBUITableViewController
+ IBUITapGestureRecognizer
IBUITextView
IBUIView
@@ -144,6 +145,7 @@
MQA
YES
+
IBCocoaTouchFramework
YES
0
@@ -162,6 +164,7 @@
{{250, 0}, {70, 59}}
+
_NS:9
NO
@@ -358,6 +361,7 @@
_NS:9
+
IBCocoaTouchFramework
@@ -370,6 +374,7 @@
IBCocoaTouchFramework
NO
+
@@ -477,6 +482,16 @@
31
+
+
+ gestureRecognizers
+
+
+ NSArray
+ YES
+
+ 61
+
onBackClick:
@@ -512,12 +527,20 @@
33
+
+
+ onListTap:
+
+
+
+ 62
+
0
-
+
@@ -619,6 +642,7 @@
8
+
tableView
@@ -651,6 +675,12 @@
messageField
+
+ 58
+
+
+ listTapGestureRecognizer
+
@@ -674,6 +704,7 @@
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
+ com.apple.InterfaceBuilder.IBCocoaTouchPlugin
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
@@ -685,7 +716,7 @@
- 57
+ 62
@@ -703,6 +734,7 @@
id
id
+ id
id
id
@@ -715,6 +747,10 @@
onEditClick:
id
+
+ onListTap:
+ id
+
onMessageChange:
id