Skip to content
Snippets Groups Projects
Commit 1a6dd0d6 authored by deuce's avatar deuce
Browse files

Fix syncjslint warnings.

parent 48ef1739
Branches
Tags
No related merge requests found
......@@ -204,7 +204,7 @@ TickITCfg.prototype.save = function()
for (i=0; i<sects.length; i++)
tcfg.iniRemoveSection(sects[i]);
tcfg.close();
}
};
function FREQITCfg()
{
......@@ -288,11 +288,11 @@ FREQITCfg.prototype.save = function()
if (this.dirs.length > 0)
fcfg.iniSetValue(null, 'Dirs', this.dirs.join(','));
else
fcfg.iniRemoveKey(section, 'Dirs');
fcfg.iniRemoveKey(null, 'Dirs');
if (this.securedirs.length > 0)
fcfg.iniSetValue(null, 'SecureDirs', this.securedirs.join(','));
else
fcfg.iniRemoveKey(section, 'SecureDirs');
fcfg.iniRemoveKey(null, 'SecureDirs');
fcfg.iniSetValue(null, 'MaxFiles', this.maxfiles.toString());
sects = fcfg.iniGetSections().map(function(v){return v.toLowerCase();});
......@@ -304,4 +304,4 @@ FREQITCfg.prototype.save = function()
for (i=0; i<sects.length; i++)
fcfg.iniRemoveSection(sects[i]);
fcfg.close();
}
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment