From 7abc92d61e1886fae3dceafa3d420d11f88d7790 Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 20 Jun 2017 20:21:46 +0800 Subject: [PATCH] add --- bi/base.js | 4 ++++ docs/base.js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/bi/base.js b/bi/base.js index 54edcd7ed1..a97de0bb82 100644 --- a/bi/base.js +++ b/bi/base.js @@ -17844,6 +17844,10 @@ BI.CodeEditor = BI.inherit(BI.Single, { focus: function () { this.editor.focus(); }, + + blur: function () { + this.editor.getInputField().blur(); + }, setStyle: function (style) { this.style = style; diff --git a/docs/base.js b/docs/base.js index 54edcd7ed1..a97de0bb82 100644 --- a/docs/base.js +++ b/docs/base.js @@ -17844,6 +17844,10 @@ BI.CodeEditor = BI.inherit(BI.Single, { focus: function () { this.editor.focus(); }, + + blur: function () { + this.editor.getInputField().blur(); + }, setStyle: function (style) { this.style = style;