lists with .
This commit is contained in:
parent
6f0393d12c
commit
4a8954332a
1 changed files with 2 additions and 2 deletions
|
@ -37,12 +37,12 @@ pandora.UI = (function() {
|
||||||
pandora.user.ui._findState = pandora.getFindState(val);
|
pandora.user.ui._findState = pandora.getFindState(val);
|
||||||
if (list != self.previousUI._list) {
|
if (list != self.previousUI._list) {
|
||||||
if (!pandora.user.ui.lists[list]) {
|
if (!pandora.user.ui.lists[list]) {
|
||||||
add['lists.' + list] = {};
|
add['lists.' +that.encode(list)] = {};
|
||||||
}
|
}
|
||||||
Ox.forEach(listSettings, function(listSetting, setting) {
|
Ox.forEach(listSettings, function(listSetting, setting) {
|
||||||
if (!pandora.user.ui.lists[list]) {
|
if (!pandora.user.ui.lists[list]) {
|
||||||
// add default list setting and copy to settings
|
// add default list setting and copy to settings
|
||||||
add['lists.' + list][listSetting] = pandora.site.user.ui[setting];
|
add['lists.' + that.encode(list)][listSetting] = pandora.site.user.ui[setting];
|
||||||
add[setting] = pandora.site.user.ui[setting];
|
add[setting] = pandora.site.user.ui[setting];
|
||||||
} else {
|
} else {
|
||||||
// copy lists setting to settings
|
// copy lists setting to settings
|
||||||
|
|
Loading…
Reference in a new issue