mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -07:00
toolbar now saves its state for radio buttons.
This commit is contained in:
parent
76c383dfdd
commit
cf9f8b3f8a
5 changed files with 30 additions and 5 deletions
|
@ -9,8 +9,7 @@ define(['app'], function () {
|
|||
if (value !== undefined) {
|
||||
NzbDrone.Config.SetValue(key, value);
|
||||
}
|
||||
|
||||
else{
|
||||
else {
|
||||
return NzbDrone.Config.GetValue(key, 1);
|
||||
}
|
||||
};
|
||||
|
@ -40,6 +39,8 @@ define(['app'], function () {
|
|||
cookie = {};
|
||||
}
|
||||
|
||||
console.log('Config: [{0}] => [{1}] '.format(key, value));
|
||||
|
||||
cookie[key] = value;
|
||||
NzbDrone.Config.SetCookie(cookie);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue