projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab10dd7
)
Roo/bootstrap/Popover.js
author
Alan Knowles
<alan@roojs.com>
Thu, 20 Feb 2014 07:33:00 +0000
(15:33 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 20 Feb 2014 07:33:00 +0000
(15:33 +0800)
Roo/bootstrap/Popover.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Popover.js
b/Roo/bootstrap/Popover.js
index
8312ec1
..
eb63d84
100644
(file)
--- a/
Roo/bootstrap/Popover.js
+++ b/
Roo/bootstrap/Popover.js
@@
-128,7
+128,19
@@
Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component, {
}
}
+ enter : function (obj) {
+
+ clearTimeout(this.timeout);
+
+ self.hoverState = 'in'
+
+ if (!self.options.delay || !self.options.delay.show) return self.show()
+
+ self.timeout = setTimeout(function () {
+ if (self.hoverState == 'in') self.show()
+ }, self.options.delay.show)
+ }
});