Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • M mods
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pub
  • mods
  • Issues
  • #6
Closed
Open
Created Nov 15, 2017 by Sean Hickey@hiseanDeveloper

Open local program/module doesn't work on Chrome/Safari

On Chrome and Safari browsers, the "open local program" and "open local module" options don't trigger the file input dialog. The culprit appears to be lines 74 and 132 (respectively) of mods.js which attempts to trigger the file input dialog using a generated click event. After digging around on the internet a bit, it seems likely that this is a security concern for these browsers which will only trigger a click event form an actual click from a user. I quickly tried implementing a few workarounds just to see if I could get it to work at all, but no luck. The simplest fix is probably to turn this part of the UI into an actual button that the user can click (and thus will generate a proper click event).

Assignee
Assign to
Time tracking