guacamole-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vn...@apache.org
Subject [03/14] incubator-guacamole-client git commit: GUACAMOLE-346: Require seek callback internally, for sake of simplicity.
Date Wed, 19 Jul 2017 18:37:08 GMT
GUACAMOLE-346: Require seek callback internally, for sake of simplicity.

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/b325eb81
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/b325eb81
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/b325eb81

Branch: refs/heads/master
Commit: b325eb8139f82387e8a4efbe8c2449b60066b142
Parents: 744574d
Author: Michael Jumper <mjumper@apache.org>
Authored: Sat Jul 15 16:10:28 2017 -0700
Committer: Michael Jumper <mjumper@apache.org>
Committed: Sat Jul 15 16:10:28 2017 -0700

----------------------------------------------------------------------
 guacamole-common-js/src/main/webapp/modules/SessionRecording.js | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/b325eb81/guacamole-common-js/src/main/webapp/modules/SessionRecording.js
----------------------------------------------------------------------
diff --git a/guacamole-common-js/src/main/webapp/modules/SessionRecording.js b/guacamole-common-js/src/main/webapp/modules/SessionRecording.js
index a89bd70..13daa96 100644
--- a/guacamole-common-js/src/main/webapp/modules/SessionRecording.js
+++ b/guacamole-common-js/src/main/webapp/modules/SessionRecording.js
@@ -325,7 +325,7 @@ Guacamole.SessionRecording = function SessionRecording(tunnel) {
      *     The index of the frame which should become the new playback
      *     position.
      *
-     * @param {function} [callback]
+     * @param {function} callback
      *     The callback to invoke once the seek operation has completed.
      */
     var seekToFrame = function seekToFrame(index, callback) {
@@ -387,8 +387,7 @@ Guacamole.SessionRecording = function SessionRecording(tunnel) {
             else {
 
                 // Notify that the requested seek has completed
-                if (callback)
-                    callback();
+                callback();
 
             }
 


Mime
View raw message