From: Alan Knowles Date: Wed, 2 Dec 2015 02:20:05 +0000 (+0800) Subject: Roo/bootstrap/Component.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=8f7e498c96331f94d42a7903308046f85b347689;p=roojs1 Roo/bootstrap/Component.js --- diff --git a/Roo/bootstrap/Component.js b/Roo/bootstrap/Component.js index 77824cc283..4011bb90c4 100644 --- a/Roo/bootstrap/Component.js +++ b/Roo/bootstrap/Component.js @@ -101,7 +101,7 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent, { var cfg = Roo.apply({}, this.getAutoCreate()); - cfg.id = Roo.id(); + cfg.id = this.id || Roo.id(); // fill in the extra attributes if (this.xattr && typeof(this.xattr) =='object') {