Browse Source

Fix regressions

pull/79/merge
Artur Arseniev 9 years ago
parent
commit
fcbcdae339
  1. 2
      index.html
  2. 6
      src/style_manager/view/PropertyView.js

2
index.html

@ -14,7 +14,7 @@
<div id="gjs" style="height:0px; overflow:hidden">
<header class="header-banner">
<div class="container-width" data-gjs-stylable="width, height">
<div class="container-width">
<!--
<table>
<thead>

6
src/style_manager/view/PropertyView.js

@ -25,7 +25,7 @@ define(['backbone', 'text!./../templates/propertyLabel.html', 'text!./../templat
this.input = this.$input = null;
this.className = this.pfx + 'property';
this.inputHolderId = '#' + this.pfx + 'input-holder';
this.sector = this.model.collection.sector;
this.sector = this.model.collection && this.model.collection.sector;
if(!this.model.get('value'))
this.model.set('value', this.model.get('defaults'));
@ -35,10 +35,6 @@ define(['backbone', 'text!./../templates/propertyLabel.html', 'text!./../templat
this.listenTo(this.model, 'change:value', this.valueChanged);
this.listenTo(this.model, 'targetUpdated', this.targetUpdated);
this.listenTo(this.model, 'change:visible', this.updateVisibility);
if (this.sector && this.sector.get('name') == 'Decorations') {
console.log(this.sector.get('name')+':', this.property, this.model.get('type'));
}
},
/**

Loading…
Cancel
Save