Closed Sphinxxxx closed 8 years ago
"Clear"ing the selection doesn't work, because it triggers a bug in the JS code.
It's simple, you just need to add the "event" variable that the click handler uses to the handler's argument list:
.on( 'click', '.reset_variations', function( /*** ---> ***/ event /*** <--- ***/ ) { event.preventDefault(); ...
thanks for the heads-up @Sphinxxxx
"Clear"ing the selection doesn't work, because it triggers a bug in the JS code.
It's simple, you just need to add the "event" variable that the click handler uses to the handler's argument list: