Browse Source

Load sectors in onLoad in Style Manager

pull/1518/head
Artur Arseniev 8 years ago
parent
commit
c1298c4256
  1. 8
      src/style_manager/index.js

8
src/style_manager/index.js

@ -74,17 +74,21 @@ module.exports = () => {
var ppfx = c.pStylePrefix;
if (ppfx) c.stylePrefix = ppfx + c.stylePrefix;
properties = new Properties();
sectors = new Sectors(c.sectors, c);
sectors = new Sectors([], c);
SectView = new SectorsView({
collection: sectors,
target: c.em,
config: c
});
return this;
},
onLoad() {
sectors.add(c.sectors);
},
postRender() {
const elTo = this.getConfig().appendTo;

Loading…
Cancel
Save