From 42d78d11764dca5df6c7d01f3221f398bee17152 Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Thu, 1 Mar 2012 15:00:48 -0800 Subject: Squashed commit of the workspace-bugs - Panels fixes. Signed-off-by: Valerio Virgillito --- js/panels/properties.reel/section.reel/section.js | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 js/panels/properties.reel/section.reel/section.js (limited to 'js/panels/properties.reel/section.reel/section.js') diff --git a/js/panels/properties.reel/section.reel/section.js b/js/panels/properties.reel/section.reel/section.js new file mode 100755 index 00000000..b246c171 --- /dev/null +++ b/js/panels/properties.reel/section.reel/section.js @@ -0,0 +1,30 @@ +/* +This file contains proprietary software owned by Motorola Mobility, Inc.
+No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
+(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. +
*/ + +var Montage = require("montage/core/core").Montage; +var Component = require("montage/ui/component").Component; + +exports.Section = Montage.create(Component, { + + name: { + value: "Panel" + }, + + slot: { + value: null + }, + + content: { + value: null + }, + + prepareForDraw: { + value: function() { + this.element.getElementsByClassName("title")[0].innerHTML = this.name; + this.slot.content = this.content; + } + } +}); \ No newline at end of file -- cgit v1.2.3