From b3a3c0992bc931ce1611458c0fb29abbff7edc61 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 e981782d3..cb1aa968c 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(); if (this.placement == 'top')