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)
committerDan Scott <dscott@laurentian.ca>
Fri, 10 Aug 2012 02:10:07 +0000 (22:10 -0400)
commit20d649b02beb9340dde7f94797da43e85831346d
tree469955504b9f15ba64cc223b14b6898dac11cd3f
parent588e5426b3c859d4a0ec0fcfbe613c0674c4540f
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