internal: an alternative to default_focus
authorJason Etheridge <jason@esilibrary.com>
Thu, 20 Dec 2012 22:17:24 +0000 (17:17 -0500)
committerJason Etheridge <jason@esilibrary.com>
Tue, 26 Feb 2013 16:31:43 +0000 (11:31 -0500)
commit9c1e71a29fe9f7fca48723971bf671da7c45aa8a
tree1a05d9d7359f2541c6dde7ef861b56d618f5251f
parent8bd78a3e0f4d910591208a0845a2d05df43b4270
internal: an alternative to default_focus

Interfaces can now set event listeners on their window for 'tab_focus' instead
of defining a single default_focus function.

We also include a change to browser.js so that embedded interfaces also get
their default_focus function called (and a tab_focus event sent).

This is geared to help future functionality, but shouldn't produce any end-user
visible changes by itself.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/xul/staff_client/chrome/content/main/menu.js
Open-ILS/xul/staff_client/chrome/content/util/browser.js