Fixes a typo and event params.

The event being fired was using an undefined variable. Changed to 'this.result' instead.