[
https://jira.duraspace.org/browse/DS-1022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=22654#comment-22654
]
Mark Diggory commented on DS-1022:
----------------------------------
Art Lowel provides a solution to this problem for us...
The problem is lines 98-101:
authInput is initialized as a jQuery object (which is a kind of array). If it
has a length greater than 0 authInput is set to the first element of that array.
But there's no 'else'. Therefore if $('#' + authorityID); doesn't exist,
authInput will be an empty array and will not fail the (authInput != null)
check on line 104.
tl;dr add this between lines 101 and 102:
else {
authInput = null;
}
> Cannot select an option from Authority Control in Chrome or FF
> --------------------------------------------------------------
>
> Key: DS-1022
> URL: https://jira.duraspace.org/browse/DS-1022
> Project: DSpace
> Issue Type: Bug
> Components: JSPUI, XMLUI
> Affects Versions: 1.8.0
> Reporter: Tim Donohue
> Fix For: 1.8.0
>
>
> Here's how you can see this issue:
> * Visit http://demo.dspace.org, & login
> * Start a new submission (or continue an existing one)
> * On either the Publisher field or Subject Keywords field, start typing a
> word (e.g. "the") -- pause for a moment while Authority Control system
> prompts you with options
> * Attempt to choose a suggested option. You will be unable to select an
> option
> This seems to affect at least Chrome (v. 13) and Firefox (v 7.0).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel