]> git.proxmox.com Git - extjs.git/blame - extjs/classic/classic/src/rtl/tip/QuickTipManager.js
add extjs 6.0.1 sources
[extjs.git] / extjs / classic / classic / src / rtl / tip / QuickTipManager.js
CommitLineData
6527f429
DM
1Ext.define('Ext.rtl.tip.QuickTipManager', {\r
2 override: 'Ext.tip.QuickTipManager',\r
3\r
4 init: function() {\r
5 var me = this;\r
6\r
7 // Will return false if not ready to proceed\r
8 if (me.callParent(arguments) !== false) {\r
9 me.tip.on('beforeshow', me.onBeforeFirstShow, me, { single: true });\r
10 }\r
11 },\r
12\r
13 onBeforeFirstShow: function(tip) {\r
14 // The rtl override for Component reads the DOM for floating components to\r
15 // determine if their local coordinate system is RTL and caches the value. If\r
16 // QuickTipManager.init() is called before the Viewport has been rendered then the\r
17 // cached value may be incorrect. Clear the cached value so that the next call to\r
18 // isLocalRtl() will read the DOM again. \r
19 tip._isOffsetParentRtl = undefined;\r
20 }\r
21});