Allow logout button to work where no Java app used
[guacamole.git] / src / main / webapp / client.xhtml
index afec1b4..66d6184 100644 (file)
                     var tunneltype = getParameter("tunnel");
                     var wsendpoint = getParameter("wsendpoint", "websocket-tunnel");
                     var httpendpoint = getParameter("httpendpoint", "tunnel");
+                     /* Should Window close on logout */
+                    window.SELF_CLOSE = getParameter("selfclose", 0); /* if 1 then the window will close on logout if 0 then the logout will redirect, defaults to 0 */
 
                     switch (tunneltype) {
                       case 'http':