]> git.evergreen-ils.org Git - Evergreen.git/commit
internal: an alternative to default_focus
authorJason Etheridge <jason@esilibrary.com>
Thu, 20 Dec 2012 22:17:24 +0000 (17:17 -0500)
committerMike Rylander <mrylander@gmail.com>
Thu, 12 Sep 2013 17:50:39 +0000 (13:50 -0400)
commit35bbeaea9a5dfc812c82c19061d96a9c514e2b7d
tree189d3a05137538dcb015bfa0d8d5d19117126e22
parent62e7f75f9e68f0ee01dba56c3c5c2f841b7f8ae8
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>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/xul/staff_client/chrome/content/main/menu.js
Open-ILS/xul/staff_client/chrome/content/util/browser.js