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:52:14 +0000 (09:52 -0400)
commit135048671b01eacffacba741058ab487a5885b22
tree0cf7037f93909cbacbb7503c682fff9bef50b7f0
parentc81118e76cc10529d857233462a6d690c14a9834
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