Skip to content

Commit

Permalink
Update referencebrowser.js
Browse files Browse the repository at this point in the history
Updated to use === comparison...
  • Loading branch information
gbastien committed Apr 2, 2014
1 parent bfc5cb3 commit c8e3a5b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -426,7 +426,7 @@ jQuery(function(jq) {
uid_selector = "input[name='" + fieldname + ":list']",
current = jq(uid_selector), // the widget in the form
current_uids = current.map(function () {
if (jq(this).is(':checked')) {
if (this.checked === true) {
return jq(this).attr('value');
}
return null;
Expand Down

1 comment on commit c8e3a5b

@mister-roboto
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TESTS FAILED
Mr.Roboto url : http://jenkins.plone.org/roboto/get_info?push=d9195f73232b434d9a755011b28fb0f7
[FAILURE] kgs-archetypes.referencebrowserwidget-plone-4.2-python-2.6 kgs
[SUCCESS] kgs-archetypes.referencebrowserwidget-plone-4.2-python-2.7 kgs
[SUCCESS] kgs-archetypes.referencebrowserwidget-plone-4.3-python-2.6 kgs
[SUCCESS] kgs-archetypes.referencebrowserwidget-plone-4.3-python-2.7 kgs
[FAILURE] kgs-archetypes.referencebrowserwidget-plone-5.0-python-2.7 kgs

Please sign in to comment.