diff options
Diffstat (limited to 'js/panels')
-rw-r--r-- | js/panels/css-panel/styles-view-container.reel/styles-view-container.js | 2 | ||||
-rwxr-xr-x | js/panels/properties.reel/sections/custom.reel/custom.js | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/js/panels/css-panel/styles-view-container.reel/styles-view-container.js b/js/panels/css-panel/styles-view-container.reel/styles-view-container.js index 153e74b6..975ae608 100644 --- a/js/panels/css-panel/styles-view-container.reel/styles-view-container.js +++ b/js/panels/css-panel/styles-view-container.reel/styles-view-container.js | |||
@@ -129,7 +129,7 @@ exports.StylesViewContainer = Montage.create(Component, { | |||
129 | } | 129 | } |
130 | }, | 130 | }, |
131 | handleSelectionChange: { | 131 | handleSelectionChange: { |
132 | value: function() { | 132 | value: function(e) { |
133 | var elements = this.application.ninja.selectedElements, | 133 | var elements = this.application.ninja.selectedElements, |
134 | elementsCopy = this._copy(elements); | 134 | elementsCopy = this._copy(elements); |
135 | 135 | ||
diff --git a/js/panels/properties.reel/sections/custom.reel/custom.js b/js/panels/properties.reel/sections/custom.reel/custom.js index 08434b01..9c31cf45 100755 --- a/js/panels/properties.reel/sections/custom.reel/custom.js +++ b/js/panels/properties.reel/sections/custom.reel/custom.js | |||
@@ -18,7 +18,6 @@ var Hottext = require("js/components/hottextunit.reel").HotTextUnit; | |||
18 | var HT = require("js/components/hottext.reel").HotText; | 18 | var HT = require("js/components/hottext.reel").HotText; |
19 | var Dropdown = require("js/components/combobox.reel").Combobox; | 19 | var Dropdown = require("js/components/combobox.reel").Combobox; |
20 | var TextField = require("js/components/textfield.reel").TextField; | 20 | var TextField = require("js/components/textfield.reel").TextField; |
21 | var FileInput = require("js/components/ui/file-input.reel").FileInput; | ||
22 | var LabelCheckbox = require("js/components/ui/label-checkbox.reel").LabelCheckbox; | 21 | var LabelCheckbox = require("js/components/ui/label-checkbox.reel").LabelCheckbox; |
23 | var ColorChip = require("js/components/ui/color-chip.reel").ColorChip; | 22 | var ColorChip = require("js/components/ui/color-chip.reel").ColorChip; |
24 | var Button = require("montage/ui/button.reel").Button; | 23 | var Button = require("montage/ui/button.reel").Button; |
@@ -322,8 +321,9 @@ exports.CustomSection = Montage.create(Component, { | |||
322 | 321 | ||
323 | //Bind object value to controls list so it can be manipulated | 322 | //Bind object value to controls list so it can be manipulated |
324 | Object.defineBinding(this.controls, aField.id, { | 323 | Object.defineBinding(this.controls, aField.id, { |
325 | boundObject: obj, | 324 | boundObject: obj, |
326 | boundObjectPropertyPath: "value" | 325 | boundObjectPropertyPath: "value", |
326 | oneway: false | ||
327 | }); | 327 | }); |
328 | 328 | ||
329 | return obj; | 329 | return obj; |