[BluetoothChat] updated BluetoothChat sources
authorPiotr Dabrowski <p.dabrowski2@samsung.com>
Thu, 5 Sep 2013 14:00:11 +0000 (16:00 +0200)
committerPiotr Dabrowski <p.dabrowski2@samsung.com>
Thu, 5 Sep 2013 14:00:11 +0000 (16:00 +0200)
Change-Id: Iad61f2c6088d65304bb4e780eb0448a0f001e522

js/app.ui.js

index ba914af..9bd9d99 100644 (file)
@@ -192,10 +192,13 @@ function Ui(callback) {
                },
 
                disableSendButton: function Ui_disableSendButton() {
-                       $('#ui-mySend')
-                               .css({'pointer-events': 'none', 'color': '#bbb'})
-                               .removeClass('ui-btn-down-s')
-                               .addClass('ui-disabled');
+                       setTimeout( function() {
+                               $('#ui-mySend')
+                                       .css({'pointer-events': 'none', 'color': '#bbb'})
+                                       .addClass('ui-disabled');
+                               },
+                               0
+                       );
                },
 
                checkSendButtonState: function Ui_checkSendButtonState() {