Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-2986

Automation scripting : Unselect text after formatting

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 28
    • Component/s: Automation
    • Tags:
    • Sprint:
      TGV 11

      Description

      In an Automation Script:

      • Fill in the script (example provided below)
      • Press "format all" on top right
      • Click into the textarea

      => textarea is emptied
      => text should be unselected after formatting to avoid this problem

      Script used:
      function run(input, params) {
      Document.AddPermission(input,

      { /*required:true - type: string*/ 'permission': "", /*required:true - type: string*/ 'username': "", /*required:false - type: string*/ 'acl': "", /*required:false - type: date*/ 'begin': "", /*required:false - type: boolean*/ 'blockInheritance': "", /*required:false - type: string*/ 'comment': "", /*required:false - type: date*/ 'end': "", /*required:false - type: boolean*/ 'notify': false }

      );

      return input;
      }

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.