Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-3694

Add a reusable ModalPopup javascript widget

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9 M1
    • Fix Version/s: 1.9 M2
    • Labels:
      None
    • Difficulty:
      Medium
    • Similar issues:

      Description

      Basic behavior:

      • Register a shortcut that shows the dialog
      • When showing the dialog, register shortcuts for custom actions
      • It displays a semi-transparent screen that covers the underlying document, and a small box which holds the custom content
      • When closing the dialog, unregister the custom shortcuts

      Configurable options:

      • shortcuts for custom actions (default: Ctrl/Meta+G for show, Esc for close)
      • title (default: none)
      • whether to display a close button or not (default: true)
      • colors for the screen, the border, the title and the dialog background
      • horizontal and vertical positions (just 3 values accepted, top/center/bottom and left/center/right, default: center/center)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sdumitriu Sergiu Dumitriu
              Reporter:
              sdumitriu Sergiu Dumitriu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: