]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Authorities: Fix broken UI due to new XUL/Dojo/regressions
authorDan Scott <dscott@laurentian.ca>
Thu, 9 Aug 2012 22:25:00 +0000 (18:25 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 10 Aug 2012 13:51:34 +0000 (09:51 -0400)
commitdc604d055e01f698a15f31a10b4b2cfc135a18e1
tree5f760666875bb555ee6ab0ddf62f63e8f533cc09
parentbd401421cbbf5ac397f4bda10c5c66838f30dfd5
Authorities: Fix broken UI due to new XUL/Dojo/regressions

New versions of XUL, since Firefox 10, hate dojo.query("foo bar"), so we
have to refactor it to use dojo.query("foo").query("bar") instead. At
least until we upgrade to a new version of Dojo.

In addition, 522d8d82 introduced a regression meaning that the text of
the authorities was no longer wrapped in a SPAN element with a class of
"text". That in turn meant that the Dojo queries weren't picking up the
labels for the merge box, leaving no visual indication to the user as to
what authorities exactly were being merged. So, repair that.

Also, similar to a fix for the MFHD editor, set the initial height of
the spawned MARC Editor for an authority record to something reasonable.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/web/js/ui/default/cat/authority/list.js