palemoon#975: Customizable toolbars - backward compatible (but unidirectional)

This commit is contained in:
janekptacijarabaci 2018-04-15 22:31:31 +02:00 • committed by Roy Tam
commit 7da20021ff
2 changed files with 41 additions and 11 deletions

View file

@ -180,8 +180,8 @@ function persistCurrentSets()
// Persist custom toolbar info on the <toolbarset/>
// Attributes:
// Names: "toolbarX" (X - the number of the toolbar)
// Values: "Name:HidingAttributeName-HidingAttributeValue:CurrentSet"
gToolbox.toolbarset.setAttribute("toolbar"+(++customCount),
// Values: "Name|HidingAttributeName-HidingAttributeValue|CurrentSet"
gToolbox.toolbarset.setAttribute("toolbar" + (++customCount),
toolbar.toolbarName
+ gToolbarInfoSeparators[0]
+ hidingAttribute