- Timestamp:
- 03/08/14 22:51:23 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/src/client/qed-client/widgets/LineWithActionsWidget.js
r472 r490 44 44 onClick: lang.hitch(this, function(action, e){ 45 45 if ( action.callback ) { action.callback(e); } 46 event.stop(e);46 if ( e ) { event.stop(e); } 47 47 return false; 48 48 }, this.actions[action]) … … 58 58 onClick: lang.hitch(this, function(action, e){ 59 59 if ( action.callback ) { action.callback(e); } 60 event.stop(e);60 if ( e ) { event.stop(e); } 61 61 return false; 62 62 }, this.actions[action]) … … 73 73 var preventDefault = this.onClick(e) === false; 74 74 if (preventDefault) { 75 event.stop(e);75 if ( e ) { event.stop(e); } 76 76 } 77 77 return !preventDefault;
Note: See TracChangeset
for help on using the changeset viewer.