summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-23 13:32:47 +0100
committerAlib <aliboba@free.fr>2010-03-23 13:32:47 +0100
commit4568b0e65d4f029384aeec26e2b2df6b8f37ffc2 (patch)
treee73ada5dd013c87b52d1dce356e4c35f35d0e445 /js
parent4f4dd73b19eec0d199684f2f7e6a5be9b3554881 (diff)
downloadistreamdev-4568b0e65d4f029384aeec26e2b2df6b8f37ffc2.tar.gz
istreamdev-4568b0e65d4f029384aeec26e2b2df6b8f37ffc2.tar.bz2
added confirmation for stop all session
Diffstat (limited to 'js')
-rw-r--r--js/istreamdev.js5
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,