Skip to content

"browse..." button JS error #34

Open
@tkimnguyen

Description

@tkimnguyen

Plone 5.0.8, plone.formwidget.contenttree 1.0.15

The autocomplete function works with the text field, but when I click on the "browse..." button, I get this error in the Chrome (Version 65.0.3325.181 on macOS 10.13.4 Beta) console:

Uncaught TypeError: window.showDialog is not a function
    at HTMLInputElement.<anonymous> (@@oiestudyabroadstudent-controlpanel:3024)
    at HTMLInputElement.dispatch (jquery.js:4670)
    at HTMLInputElement.b.dispatch (plone-compiled.js:7509)
    at HTMLInputElement.r.handle (jquery.js:4338)

My code looks like this:

    widget(state_of_wisconsin_need_based_travel_grant_form=ContentTreeFieldWidget)
    state_of_wisconsin_need_based_travel_grant_form = schema.Choice(
        title=u'State of Wisconsin Need-based Travel Grant Form',
        description=u'select the PDF for this form',
        required=False,
        missing_value=None,
        default=None,
        source=UUIDSourceBinder(portal_type='File')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions