Authorities: Fix broken UI due to new XUL/Dojo/regressions user/dbs/new_xul_authority_list
authorDan Scott <dscott@laurentian.ca>
Thu, 9 Aug 2012 22:25:00 +0000 (18:25 -0400)
committerDan Scott <dscott@laurentian.ca>
Fri, 10 Aug 2012 02:03:56 +0000 (22:03 -0400)
commit3d6f2b2add64535b26c0a30ef297eeddb4c06f0f
treee15a11870e0311d562ca6d2d69c2737855801181
parentf36156a19e3e0d04535a7ee839fa0e3a922f3d47
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>
Open-ILS/web/js/ui/default/cat/authority/list.js