Fixes hidden columns showing on restart. Closes #1030 (#1031)

This commit is contained in:
Adomas Ven 2016-06-13 11:56:39 +03:00 committed by Dan Stillman
parent a200f6cfc5
commit f9449b1749

View file

@ -4679,8 +4679,9 @@ var ZoteroPane = new function()
if(!id) continue;
var elValues = {};
for (let attr of el.getAttribute("zotero-persist").split(/[\s,]+/)) {
var attrValue = el.getAttribute(attr);
elValues[attr] = attrValue;
if (el.hasAttribute(attr)) {
elValues[attr] = el.getAttribute(attr);
}
}
serializedValues[id] = elValues;
}