This will fire in the event's context not the context of the tabview you need to pass a third param to on() which is 'this'