mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUACAMOLE-346: Require seek callback internally, for sake of simplicity.
This commit is contained in:
@@ -325,7 +325,7 @@ Guacamole.SessionRecording = function SessionRecording(tunnel) {
|
|||||||
* The index of the frame which should become the new playback
|
* The index of the frame which should become the new playback
|
||||||
* position.
|
* position.
|
||||||
*
|
*
|
||||||
* @param {function} [callback]
|
* @param {function} callback
|
||||||
* The callback to invoke once the seek operation has completed.
|
* The callback to invoke once the seek operation has completed.
|
||||||
*/
|
*/
|
||||||
var seekToFrame = function seekToFrame(index, callback) {
|
var seekToFrame = function seekToFrame(index, callback) {
|
||||||
@@ -387,8 +387,7 @@ Guacamole.SessionRecording = function SessionRecording(tunnel) {
|
|||||||
else {
|
else {
|
||||||
|
|
||||||
// Notify that the requested seek has completed
|
// Notify that the requested seek has completed
|
||||||
if (callback)
|
callback();
|
||||||
callback();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user