aboutsummaryrefslogtreecommitdiff
path: root/js/tools/TextTool.js
diff options
context:
space:
mode:
authorAnanya Sen2012-04-04 13:20:15 -0700
committerAnanya Sen2012-04-04 13:20:15 -0700
commit22ade57a30b45774882028eef4ab5a5bffe1a624 (patch)
tree52e589450eeb8adf7e11b66bd222fec5fa66c963 /js/tools/TextTool.js
parentbec4cde986975d1cc5f1d2791fdb18548fc2d72a (diff)
parent8482e23cd9b8c4700b5130f2588e5eb24d376536 (diff)
downloadninja-22ade57a30b45774882028eef4ab5a5bffe1a624.tar.gz
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into Codeview-improvements
Diffstat (limited to 'js/tools/TextTool.js')
-rwxr-xr-xjs/tools/TextTool.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tools/TextTool.js b/js/tools/TextTool.js
index d27a32bb..a58aacc6 100755
--- a/js/tools/TextTool.js
+++ b/js/tools/TextTool.js
@@ -95,7 +95,7 @@ exports.TextTool = Montage.create(DrawingTool, {
95 } else { 95 } else {
96 this.doSelection(event); 96 this.doSelection(event);
97 if (this.application.ninja.selectedElements.length !== 0 ) { 97 if (this.application.ninja.selectedElements.length !== 0 ) {
98 this.selectedElement = this.application.ninja.selectedElements[0]._element; 98 this.selectedElement = this.application.ninja.selectedElements[0];
99 } 99 }
100 this._isDrawing = false; 100 this._isDrawing = false;
101 } 101 }
@@ -144,7 +144,7 @@ exports.TextTool = Montage.create(DrawingTool, {
144 144
145 HandleDoubleClick: { 145 HandleDoubleClick: {
146 value: function(e) { 146 value: function(e) {
147 //this.application.ninja.selectedElements[0]._element.setAttribute("contenteditable", true); 147 //this.application.ninja.selectedElements[0].setAttribute("contenteditable", true);
148 148
149 //if (!this.application.ninja.textTool) { 149 //if (!this.application.ninja.textTool) {
150 150