From 996eecc79a35ecc9208351159c18e1d31adbde95 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Tue, 25 Nov 2014 13:49:22 +0000 Subject: [PATCH] Coding style cleanup --- core/modules/widgets/edit-text.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/modules/widgets/edit-text.js b/core/modules/widgets/edit-text.js index ef6b04501..4a6181165 100644 --- a/core/modules/widgets/edit-text.js +++ b/core/modules/widgets/edit-text.js @@ -71,13 +71,11 @@ EditTextWidget.prototype.render = function(parent,nextSibling) { } // Fix height this.fixHeight(); - // Focus field if(this.editFocus === "true") { domNode.focus(); domNode.select(); } - }; /* @@ -148,7 +146,6 @@ EditTextWidget.prototype.execute = function() { this.editMinHeight = this.getAttribute("minHeight",DEFAULT_MIN_TEXT_AREA_HEIGHT); this.editFocusPopup = this.getAttribute("focusPopup"); this.editFocus = this.getAttribute("focus"); - // Get the editor element tag and type var tag,type; if(this.editField === "text") {