aboutsummaryrefslogtreecommitdiff
path: root/js/components/layout/tools-list.reel/tools-list.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-03-12 16:25:47 -0700
committerValerio Virgillito2012-03-12 16:25:47 -0700
commitc24f58c10231c30d3a8a4c9fb9a4f395dd746180 (patch)
treea0be6ee1daa3e21ed7df483721bc3116e4c20006 /js/components/layout/tools-list.reel/tools-list.js
parentac2db49e51f82f5a1cf52ec854b047e007ffbdd7 (diff)
downloadninja-c24f58c10231c30d3a8a4c9fb9a4f395dd746180.tar.gz
Merge dhg637 DisabledState into master.
Committing Disabled states for tool-bar, tool-options, viewbar, breadcrumb Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/components/layout/tools-list.reel/tools-list.js')
-rwxr-xr-xjs/components/layout/tools-list.reel/tools-list.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/components/layout/tools-list.reel/tools-list.js b/js/components/layout/tools-list.reel/tools-list.js
index b44f63b3..5ea6f70f 100755
--- a/js/components/layout/tools-list.reel/tools-list.js
+++ b/js/components/layout/tools-list.reel/tools-list.js
@@ -31,7 +31,7 @@ exports.ToolsList = Montage.create(Component, {
31 ZoomTool: { value: null }, 31 ZoomTool: { value: null },
32 disabled: { value: true}, 32 disabled: { value: true},
33 33
34 handleOnOpenDocument: { 34 handleOpenDocument: {
35 value: function(){ 35 value: function(){
36 this.disabled = false; 36 this.disabled = false;
37 } 37 }
@@ -48,7 +48,7 @@ exports.ToolsList = Montage.create(Component, {
48 prepareForDraw: { 48 prepareForDraw: {
49 enumerable: false, 49 enumerable: false,
50 value: function() { 50 value: function() {
51 this.eventManager.addEventListener( "onOpenDocument", this, false); 51 this.eventManager.addEventListener( "openDocument", this, false);
52 this.eventManager.addEventListener( "closeDocument", this, false); 52 this.eventManager.addEventListener( "closeDocument", this, false);
53 this.PenTool.options = this.application.ninja.toolsProperties.shapeProperties.lineProperties;//this.application.Ninja.toolsProperties.penProperties; 53 this.PenTool.options = this.application.ninja.toolsProperties.shapeProperties.lineProperties;//this.application.Ninja.toolsProperties.penProperties;
54 54