toolbar now saves its state for radio buttons.

This commit is contained in:
kay.one 2013-04-25 23:00:55 -07:00
parent 76c383dfdd
commit cf9f8b3f8a
5 changed files with 30 additions and 5 deletions

View file

@ -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);
};