bugfix
This commit is contained in:
parent
28c940c0cf
commit
7e6603b0ec
@ -124,6 +124,9 @@ bricks.widgetBuild = async function(desc, widget, data){
|
||||
var klassname = desc.widgettype;
|
||||
var base_url = widget.baseURI;
|
||||
while (klassname == 'urlwidget'){
|
||||
if (data){
|
||||
desc = bricks.apply_data(desc, data);
|
||||
}
|
||||
let url = bricks.absurl(desc.options.url, widget);
|
||||
base_url = url;
|
||||
let method = desc.options.method || 'GET';
|
||||
|
@ -35,7 +35,11 @@ bricks.DataRow = class extends bricks.HBox {
|
||||
if (header){
|
||||
w = new bricks.BlankIcon({});
|
||||
} else {
|
||||
w = new bricks.UiCheck({name:this.checkField,value:this.user_data[this.checkField]});
|
||||
var v = 0
|
||||
if (this.user_data){
|
||||
v = this.user_data[this.checkField];
|
||||
}
|
||||
w = new bricks.UiCheck({name:this.checkField,value:v});
|
||||
w.bind('changed', this.get_check_state.bind(this));
|
||||
}
|
||||
this.add_widget(w);
|
||||
|
Loading…
Reference in New Issue
Block a user