guacamole-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mjum...@apache.org
Subject [18/50] incubator-guacamole-client git commit: GUAC-1480: Unfocus clipboard DOM element to avoid mobile keyboard popping up.
Date Sun, 20 Mar 2016 02:21:58 GMT
GUAC-1480: Unfocus clipboard DOM element to avoid mobile keyboard popping up.


Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/1564aeed
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/1564aeed
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/1564aeed

Branch: refs/heads/master
Commit: 1564aeed87dff4a2841c6b9f98c04ec17c64a109
Parents: 1896d94
Author: James Muehlner <james.muehlner@guac-dev.org>
Authored: Mon Feb 8 21:00:56 2016 -0800
Committer: James Muehlner <james.muehlner@guac-dev.org>
Committed: Mon Feb 8 21:00:56 2016 -0800

----------------------------------------------------------------------
 .../src/main/webapp/app/client/services/clipboardService.js    | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/1564aeed/guacamole/src/main/webapp/app/client/services/clipboardService.js
----------------------------------------------------------------------
diff --git a/guacamole/src/main/webapp/app/client/services/clipboardService.js b/guacamole/src/main/webapp/app/client/services/clipboardService.js
index efa8478..30a3d8b 100644
--- a/guacamole/src/main/webapp/app/client/services/clipboardService.js
+++ b/guacamole/src/main/webapp/app/client/services/clipboardService.js
@@ -91,6 +91,9 @@ angular.module('client').factory('clipboardService', ['$injector',
         else
             deferred.reject();
 
+        // Unfocus the clipboard DOM event to avoid mobile keyboard opening
+        clipboardContent.blur();
+
         return deferred.promise;
     };
 
@@ -121,6 +124,9 @@ angular.module('client').factory('clipboardService', ['$injector',
             else
                 deferred.reject();
 
+            // Unfocus the clipboard DOM event to avoid mobile keyboard opening
+            clipboardContent.blur();
+
         }, 100);
 
         return deferred.promise;


Mime
View raw message