diff --git a/dashboard-ui/scripts/remotecontrol.js b/dashboard-ui/scripts/remotecontrol.js index 82c9335d89..eef917a30b 100644 --- a/dashboard-ui/scripts/remotecontrol.js +++ b/dashboard-ui/scripts/remotecontrol.js @@ -55,14 +55,14 @@ html += '
'; - html += ''; - html += ''; html += ''; html += ''; + html += ''; + html += ''; html += '
'; @@ -126,6 +126,7 @@ var command = $('#selectCommand', popup).val(); var promise; + var showRemoteControlMenuAfterCommand = true; if (command == "Play") { @@ -158,6 +159,8 @@ Context: options.context }); + + showRemoteControlMenuAfterCommand = false; } else { promise = ApiClient.sendPlayCommand(sessionIds[0], { @@ -200,6 +203,10 @@ promise.done(function () { popup.popup("close"); + + if (showRemoteControlMenuAfterCommand) { + RemoteControl.showMenu(); + } }); return false;