From a472407675c24e1e36bc8112509a277de6069ade Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 10 Nov 2017 15:41:56 +0300 Subject: [PATCH] SynchronizeTip: added close method. --- apps/common/main/lib/component/SynchronizeTip.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/common/main/lib/component/SynchronizeTip.js b/apps/common/main/lib/component/SynchronizeTip.js index fbf5a8d33..5d2c2018e 100644 --- a/apps/common/main/lib/component/SynchronizeTip.js +++ b/apps/common/main/lib/component/SynchronizeTip.js @@ -98,6 +98,10 @@ define([ if (this.cmpEl) this.cmpEl.hide(); }, + close: function() { + if (this.cmpEl) this.cmpEl.remove(); + }, + applyPlacement: function () { var showxy = this.target.offset();