bugfix
This commit is contained in:
parent
3d4cd8d0fd
commit
4a5eeb1553
@ -56,7 +56,7 @@ bricks.DataViewer = class extends bricks.VScrollPanel {
|
|||||||
add_row = async function(row, direction){
|
add_row = async function(row, direction){
|
||||||
var s = obj_fmtstr(row, this.viewer_tmpl);
|
var s = obj_fmtstr(row, this.viewer_tmpl);
|
||||||
var desc = JSON.parse(s);
|
var desc = JSON.parse(s);
|
||||||
var w = await widgetBuild(desc, this);
|
var w = await bricks.widgetBuild(desc, this);
|
||||||
if (! w){
|
if (! w){
|
||||||
console.log(desc, 'widgetBuild() failed...........');
|
console.log(desc, 'widgetBuild() failed...........');
|
||||||
return;
|
return;
|
||||||
|
@ -110,7 +110,7 @@ bricks.HttpText = class {
|
|||||||
console.log('login info:', e.target.getValue());
|
console.log('login info:', e.target.getValue());
|
||||||
return e.target.getValue();
|
return e.target.getValue();
|
||||||
}
|
}
|
||||||
var w = await widgetBuild({
|
var w = await bricks.widgetBuild({
|
||||||
"id":"login_form",
|
"id":"login_form",
|
||||||
"widgettype":"urlwidget",
|
"widgettype":"urlwidget",
|
||||||
"options":{
|
"options":{
|
||||||
|
@ -84,7 +84,7 @@ bricks.MarkdownViewer = class extends bricks.VBox {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
var w = await widgetBuild(desc);
|
var w = await bricks.widgetBuild(desc);
|
||||||
console.log('createBackButton():error, desc=', desc, 'w=', w);
|
console.log('createBackButton():error, desc=', desc, 'w=', w);
|
||||||
var t = w.children[0];
|
var t = w.children[0];
|
||||||
console.log('createBackButton():text=',t);
|
console.log('createBackButton():text=',t);
|
||||||
|
@ -92,7 +92,7 @@ bricks.TabPanel = class extends bricks.Layout {
|
|||||||
this.cur_tab_name = name;
|
this.cur_tab_name = name;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
w = await widgetBuild(items[i].content);
|
w = await bricks.widgetBuild(items[i].content);
|
||||||
if (! w){
|
if (! w){
|
||||||
console.log('TabPanel():create content error', items[i].content);
|
console.log('TabPanel():create content error', items[i].content);
|
||||||
return;
|
return;
|
||||||
|
@ -70,7 +70,7 @@ bricks.Toolbar = class extends bricks.Layout {
|
|||||||
css:desc.css
|
css:desc.css
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
var w = await widgetBuild(options);
|
var w = await bricks.widgetBuild(options);
|
||||||
if (! w){
|
if (! w){
|
||||||
console.log('Toolbar(): build widget failed', options);
|
console.log('Toolbar(): build widget failed', options);
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user