Fixes: Splitbuttons in edit template should only be activated on click

Work Items: 30097
This commit is contained in:
starfighter83
2011-03-02 13:56:37 -01:00
parent 90539868f3
commit bd09b21bb8

View File

@@ -424,12 +424,14 @@
return false;
});
var _c = null;
_a.bind("mouseenter.splitbutton", function () {
_c = setTimeout(function () {
_b();
}, _8.duration);
return false;
}).bind("mouseleave.splitbutton", function () {
// _a.bind("mouseenter.splitbutton", function () {
// _c = setTimeout(function () {
// _b();
// }, _8.duration);
// return false;
// })
_a.bind("mouseleave.splitbutton", function () {
if (_c) {
clearTimeout(_c);
}