Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-12928

Fix display of SafeEdit info message when trying to leave a page without saving changes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.8-SNAPSHOT
    • Fix Version/s: 5.8
    • Component/s: Seam / JSF UI

      Description

      The message is not displayed correctly.

      In document_edit.xhtml, replace

      initSafeEditOnForm('document_edit', '#{currentDocument.id}', '#{messages[safeEdit_message]}');
      

      by

       initSafeEditOnForm("document_edit", "#{currentDocument.id}", "#{messages['safeedit.page.has.unsaved.changes']}");
      

      idem for create_document.xhtml

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: