mirror of
https://github.com/wekan/wekan.git
synced 2026-11-26 20:45:07 -05:00
Clicking "+" beside Workspaces called window.prompt(). A browser is free to refuse that: iOS Safari offers "don't allow further prompts" for a page and then suppresses every later one, so the button did nothing at all and no input field ever appeared - which is exactly what was reported. It now opens a normal WeKan popup with a text input and a submit button, the same pattern every other create flow here uses (workspaceActionsPopup already has an identical "add subworkspace" form). Submitting with an empty field keeps the popup open and refocuses the input rather than closing silently, which is what a cancelled prompt() used to look like. Adds the addWorkspacePopup-title i18n key; the field label and button reuse the existing allboards.add-workspace-prompt / allboards.add-workspace strings. This was the only window.prompt() left in the client. Thanks to xet7 !