Skip to content
Snippets Groups Projects
Commit f44bbb7f authored by eri451's avatar eri451
Browse files

write group.getTitle() in quotation marks

parent d7954c2c
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ group.commands.add(['sessions[ave]','mkses[sion]'],
lines.push('tabs.getGroups(function ({ GroupItems }) {');
lines.push('\tlet newGroup = GroupItems.newGroup();');
if (!(group.getTitle() === ""))
lines.push('\tnewGroup.setTitle('+group.getTitle()+');');
lines.push('\tnewGroup.setTitle(\''+group.getTitle()+'\');');
lines.push('\tGroupItems.setActiveGroupItem(newGroup);');
let children = group.getChildren();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment