DS-236 bug fix - compatibility issues for lookup js in IE

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4514 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Andrea Bollini
2009-11-07 17:41:20 +00:00
parent b1f19c9405
commit c2c56611a4

View File

@@ -257,7 +257,7 @@ function DSpaceChoicesLoad(form)
},
// format is <select><option authority="key" value="val">label</option>...
onSuccess: function(transport) {
var ul = transport.responseXML.firstChild;
var ul = transport.responseXML.documentElement;
var err = ul.getAttributeNode('error');
if (err != null && err.value == 'true')
window.alert(fail+" Server indicates error in response.");