Skip to content

Commit

Permalink
Version 63:
Browse files Browse the repository at this point in the history
* Changed a private method to public to enable it to be overridden by a UI extension.
* Minor console logging cleanup.
  • Loading branch information
bp2008 committed Nov 24, 2018
1 parent e3876f0 commit b4cad4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ui3.htm
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
};
</script>
<script type="text/javascript">
var ui_version = "62";
var ui_version = "63";
var bi_version = "%%VERSION%%";
var combined_version = ui_version + "-" + bi_version;
//if (!!navigator.userAgent.match(/ Android /))
Expand Down
8 changes: 4 additions & 4 deletions ui3/ui3.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var developerMode = false;

if (navigator.cookieEnabled)
{
console.log("removeUrlParams", NavRemoveUrlParams("session"));
NavRemoveUrlParams("session");
}
///////////////////////////////////////////////////////////////
// Feature Detect /////////////////////////////////////////////
Expand Down Expand Up @@ -3794,7 +3794,7 @@ var ptzPresetThumbLoader = new (function ()
var img = camCache[i] = $img[0];
// Unfortunately, we can't allow the browser cache to be used for these, or the cached images become stale when updated and reloading the page doesn't fix it.
img.imgData = {
src: UrlForPreset(cameraId, i, true),
src: self.UrlForPreset(cameraId, i, true),
w: 0,
h: 0,
imgEle: img
Expand Down Expand Up @@ -3823,7 +3823,7 @@ var ptzPresetThumbLoader = new (function ()
if (camCache)
{
var img = camCache[presetNumber];
img.imgData.src = UrlForPreset(cameraId, presetNumber, true);
img.imgData.src = self.UrlForPreset(cameraId, presetNumber, true);
asyncThumbLoader.Enqueue(img, img.imgData.src);
}
else
Expand Down Expand Up @@ -3865,7 +3865,7 @@ var ptzPresetThumbLoader = new (function ()
{
img.imgData.error = true;
}
var UrlForPreset = function (cameraId, presetNumber, overrideCache)
this.UrlForPreset = function (cameraId, presetNumber, overrideCache)
{
if (presetNumber < 1 || presetNumber > 20)
return "";
Expand Down

0 comments on commit b4cad4c

Please sign in to comment.