Skip to content
Permalink
Browse files

Minor fixes

* Simple Devices: http-requests update fix (when websockets are not available)
  • Loading branch information...
sergejey committed May 2, 2019
1 parent cf3ce51 commit 1e646fe58ac78610ef4501002d9fe8058e8ddc6a
Showing with 5 additions and 2 deletions.
  1. +2 −1 js/scripts.js
  2. +1 −1 templates/common_header.html
  3. +1 −0 templates/devices/devices_search_admin.html
  4. +1 −0 templates/panel.html
@@ -316,7 +316,8 @@ var ajaxManager = (function() {

return {
addReq: function(opt) {
requests.push(opt);
if( !($.inArray(opt, requests) > -1) )
requests.push(opt);
},
removeReq: function(opt) {
if( $.inArray(opt, requests) > -1 )
@@ -20,7 +20,7 @@
<script type="text/javascript" src="<#ROOTHTML#>3rdparty/fancybox/jquery.fancybox.min.js?v=3.3.5"></script>

<script type="text/javascript" src="<#ROOTHTML#>3rdparty/long-press-event/long-press-event.js"></script>
<script language="javascript" type="text/javascript" src="<#ROOTHTML#>js/scripts.js?v=2019-03-03"></script>
<script language="javascript" type="text/javascript" src="<#ROOTHTML#>js/scripts.js?v=2019-05-02" ></script>

<link rel="stylesheet" type="text/css" href="<#ROOTHTML#>css/umbra-css2/style.css" title="theme"/>
<script language="javascript" type="text/javascript" src="<#ROOTHTML#>js/jWindow.js"></script>
@@ -101,6 +101,7 @@
var trackedDevices = [];
$(function() {
ajaxManager.run();
trackedDevices = [];
[#begin RESULT#]
trackedDevices.push([#ID#]);
[#end RESULT#]
@@ -254,6 +254,7 @@
[#if PRINT=="1"#]return true;[#endif#]
if (typeof link == 'undefined') return;
ajaxManager.stop();
requestCounter++;
var seqNumber=requestCounter;
var urlPartLoad=link;

0 comments on commit 1e646fe

Please sign in to comment.
You can’t perform that action at this time.