diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/istreamdev.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/istreamdev.js b/js/istreamdev.js index d080bd7..cf49cbc 100644 --- a/js/istreamdev.js +++ b/js/istreamdev.js @@ -230,6 +230,11 @@ $('#runningsessions li a').tap(function(event) { json_start(this);
var session = $(this).attr('rel');
if (session=="killsessions") {
+ var confirmation = confirm("Delete all active session?");
+ if ( confirmation == false ) {
+ hide_loader();
+ return false;
+ }
var dataString = 'action=stopBroadcast&session=all';
$.getJSON("bin/backend.php",
dataString,
|