make Graphics work again
as base for Mathis work
This commit is contained in:
@ -41,9 +41,9 @@ function createContent(s, message) {
|
||||
for (var i = 0; i < message.components.length; i++) {
|
||||
var component = message.components[i];
|
||||
if (!("title" in component))
|
||||
component.title = name;
|
||||
component.title = component.name;
|
||||
if (!("command" in component))
|
||||
component.command = name;
|
||||
component.command = component.name;
|
||||
createFunc = window['create_' + component.type + '_row']
|
||||
if (createFunc)
|
||||
content.appendChild(createFunc(s, component))
|
||||
|
Reference in New Issue
Block a user