mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
toolbar now saves its state for radio buttons.
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
Reference in New Issue
Block a user