Răsfoiți Sursa

bug where eventClick return value was being ignored

Adam Shaw 11 ani în urmă
părinte
comite
076c2c4cbd
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/common/Grid.events.js

+ 1 - 1
src/common/Grid.events.js

@@ -136,7 +136,7 @@ $.extend(Grid.prototype, {
 
 					// only call the handlers if there is not a drag/resize in progress
 					if (seg && !_this.isDraggingSeg && !_this.isResizingSeg) {
-						func.call(this, seg, ev); // `this` will be the event element
+						return func.call(this, seg, ev); // `this` will be the event element
 					}
 				});
 			}