Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-30889 calendar: Adding focus and blur events to calendar renderer

  • Loading branch information...
commit 7cdb7250812cad36ffc384d94375cec8b836ef01 1 parent c366bea
@ankitagarwal ankitagarwal authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  calendar/yui/eventmanager/eventmanager.js
View
2  calendar/yui/eventmanager/eventmanager.js
@@ -24,6 +24,8 @@ YUI.add('moodle-calendar-eventmanager', function(Y) {
this.publish('hideevent');
td.on('mouseenter', this.startShow, this);
td.on('mouseleave', this.startHide, this);
+ td.on('focus', this.startShow, this);
+ td.on('blur', this.startHide, this);
return true;
},
initPanel : function() {
Please sign in to comment.
Something went wrong with that request. Please try again.