mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-03-13 06:08:12 +01:00
[bug] fix group name special character support when adding links
This commit is contained in:
parent
5b1c0ee979
commit
89cd24568e
@ -819,7 +819,15 @@ var link = (function() {
|
|||||||
var makeGroupOptions = function() {
|
var makeGroupOptions = function() {
|
||||||
if (bookmarks.get().length > 0) {
|
if (bookmarks.get().length > 0) {
|
||||||
bookmarks.get().forEach(function(arrayItem, index) {
|
bookmarks.get().forEach(function(arrayItem, index) {
|
||||||
groupExistingGroup.appendChild(helper.node("option:" + arrayItem.name + "|value:" + arrayItem.name));
|
var option = helper.makeNode({
|
||||||
|
tag: "option",
|
||||||
|
text: arrayItem.name,
|
||||||
|
attr: [{
|
||||||
|
key: "value",
|
||||||
|
value: arrayItem.name
|
||||||
|
}]
|
||||||
|
});
|
||||||
|
groupExistingGroup.appendChild(option);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
groupNewRadio.checked = true;
|
groupNewRadio.checked = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user