From f89924f7a19871e26d5805a6c1863903c6e474bf Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 2 Dec 2018 18:38:27 +0300 Subject: set use strict on JS modules; remove some mostly useless stuff like get_minified_js() --- js/Utils.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'js/Utils.js') diff --git a/js/Utils.js b/js/Utils.js index 204b3189c..8778143f2 100644 --- a/js/Utils.js +++ b/js/Utils.js @@ -1,3 +1,5 @@ +'use strict' +/* global __, ngettext */ define(["dojo/_base/declare"], function (declare) { return declare("fox.Utils", null, { _rpc_seq: 0, @@ -235,12 +237,6 @@ define(["dojo/_base/declare"], function (declare) { console.log("RI:", k, "=>", v); - if (k == "dep_ts" && parseInt(getInitParam("dep_ts")) > 0) { - if (parseInt(getInitParam("dep_ts")) < parseInt(v) && getInitParam("reload_on_ts_change")) { - window.location.reload(); - } - } - if (k == "daemon_is_running" && v != 1) { notify_error("Update daemon is not running.", true); return; -- cgit v1.2.3