summaryrefslogtreecommitdiffstats
path: root/wwwdir/asterisk.html
diff options
context:
space:
mode:
Diffstat (limited to 'wwwdir/asterisk.html')
-rw-r--r--wwwdir/asterisk.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/wwwdir/asterisk.html b/wwwdir/asterisk.html
index af6d1b3..22dea49 100644
--- a/wwwdir/asterisk.html
+++ b/wwwdir/asterisk.html
@@ -17,7 +17,7 @@
</script>
-->
- <script type="text/javascript" src="synapse.js"></script>
+ <script type="text/javascript" src="synapse/synapse.js"></script>
<script type="text/javascript">
@@ -56,8 +56,8 @@
loginDeviceId=msg["deviceId"];
//store the device and authcookie in a browser cookie, so the user doesnt have to relogin everytime.
- $.setCookie('asterisk_authCookie',msg["authCookie"], {});
- $.setCookie('asterisk_deviceId',msg["deviceId"], {});
+ $.setCookie('asterisk_authCookie',msg["authCookie"], {duration:365, path:"/"});
+ $.setCookie('asterisk_deviceId',msg["deviceId"], {duration:365, path:"/"});
//request a refresh, to learn about all objects
send(0,"asterisk_refresh", {
@@ -106,6 +106,7 @@
else
$('#deviceList').append(html);
+
}
@@ -125,7 +126,6 @@
// $('#statusLoginUser').text(msg["callerId"]);
// }
- $(escapeId(msg["id"])+":hidden").slideDown();
});
@@ -142,6 +142,7 @@
synapse_register("asterisk_debugChannel",function(msg_src, msg_dst, msg_event, msg)
{
+ //TODO: make it possible to disable debugging, its slow
//add debug dom object?
if ($(escapeId("debug_"+msg["id"])).length==0)
{
@@ -419,7 +420,6 @@
.device
{
- display: none;
float: left;
width: 20em;
min-height: 3em;