SgtPooki / NerderyTimesheetHelper

The Official Nerdery Timesheet Helper
1 stars 1 forks source link

Hotkey for WOs #11

Open SgtPooki opened 11 years ago

SgtPooki commented 11 years ago

Add hotkeys for work orders so that you can cycle through available work orders.

bitwalker commented 11 years ago

Take a look at the app.resetTimeEntry method to see how I'm triggering the Work Order Information area with the currently selected work order, as you'll need to do that when cycling through the work orders. Calling $wo.trigger('blur') doesn't seem to work, Mainframe seems to want you to first focus on the WO dropdown, and then trigger onblur by focusing elsewhere. Not sure what's up with that, but the current solution seems to work.