bugfix
This commit is contained in:
parent
517cd150d8
commit
691648791b
@ -48,6 +48,7 @@ bricks.Accordion = class extends bricks.VBox {
|
|||||||
var refresh = false;
|
var refresh = false;
|
||||||
var b = event.target.bricks_widget;
|
var b = event.target.bricks_widget;
|
||||||
var name = b.opts.name;
|
var name = b.opts.name;
|
||||||
|
this.select_item(b);
|
||||||
bricks.debug('accordion: button=', b, 'name=', name);
|
bricks.debug('accordion: button=', b, 'name=', name);
|
||||||
var pos = -1;
|
var pos = -1;
|
||||||
for (var i=0; i< this.opts.items.length; i++){
|
for (var i=0; i< this.opts.items.length; i++){
|
||||||
|
@ -460,6 +460,7 @@ bricks.App = class extends bricks.Layout {
|
|||||||
*/
|
*/
|
||||||
super(opts);
|
super(opts);
|
||||||
bricks.app = this;
|
bricks.app = this;
|
||||||
|
bricks.bug = opts.debug or false;
|
||||||
bricks.Body = this;
|
bricks.Body = this;
|
||||||
this.deviceid = bricks.deviceid(opts.appname || 'appname');
|
this.deviceid = bricks.deviceid(opts.appname || 'appname');
|
||||||
this.login_url = opts.login_url;
|
this.login_url = opts.login_url;
|
||||||
|
Loading…
Reference in New Issue
Block a user