View | Details | Raw Unified | Return to bug 6235
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/humanmsg.js (-3 / +2 lines)
Lines 71-77 var humanMsg = { Link Here
71
71
72
	bindEvents: function() {
72
	bindEvents: function() {
73
	// Remove message if mouse is moved or key is pressed
73
	// Remove message if mouse is moved or key is pressed
74
		jQuery(window)
74
		jQuery(document)
75
			.mousemove(humanMsg.removeMsg)
75
			.mousemove(humanMsg.removeMsg)
76
			.click(humanMsg.removeMsg)
76
			.click(humanMsg.removeMsg)
77
			.keypress(humanMsg.removeMsg)
77
			.keypress(humanMsg.removeMsg)
Lines 79-85 var humanMsg = { Link Here
79
79
80
	removeMsg: function() {
80
	removeMsg: function() {
81
		// Unbind mouse & keyboard
81
		// Unbind mouse & keyboard
82
		jQuery(window)
82
		jQuery(document)
83
			.unbind('mousemove', humanMsg.removeMsg)
83
			.unbind('mousemove', humanMsg.removeMsg)
84
			.unbind('click', humanMsg.removeMsg)
84
			.unbind('click', humanMsg.removeMsg)
85
			.unbind('keypress', humanMsg.removeMsg)
85
			.unbind('keypress', humanMsg.removeMsg)
86
- 

Return to bug 6235