Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-18436

Apply button do not pick up changes in codemirror textareas

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      When one clicks the "Apply" button, codemirror-driven textareas do not reflect changes, result in loss of edits.

          [JENKINS-18436] Apply button do not pick up changes in codemirror textareas

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/resources/lib/form/apply.jelly
          core/src/main/resources/lib/form/apply/apply.js
          core/src/main/resources/lib/form/textarea/textarea.js
          test/src/test/groovy/lib/form/ApplyButtonTest.groovy
          test/src/test/resources/lib/form/JSON.js
          http://jenkins-ci.org/commit/jenkins/2ffece9d737f4a77ed4059c777948299daf22771
          Log:
          [FIXED JENKINS-18436]

          Fire the "jenkins:apply" event from the apply button and listen to that to write back edits to <TEXTAREA>

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/resources/lib/form/apply.jelly core/src/main/resources/lib/form/apply/apply.js core/src/main/resources/lib/form/textarea/textarea.js test/src/test/groovy/lib/form/ApplyButtonTest.groovy test/src/test/resources/lib/form/JSON.js http://jenkins-ci.org/commit/jenkins/2ffece9d737f4a77ed4059c777948299daf22771 Log: [FIXED JENKINS-18436] Fire the "jenkins:apply" event from the apply button and listen to that to write back edits to <TEXTAREA>

          dogfood added a comment -

          Integrated in jenkins_main_trunk #2644
          [FIXED JENKINS-18436] (Revision 2ffece9d737f4a77ed4059c777948299daf22771)

          Result = UNSTABLE
          kohsuke : 2ffece9d737f4a77ed4059c777948299daf22771
          Files :

          • core/src/main/resources/lib/form/apply.jelly
          • core/src/main/resources/lib/form/apply/apply.js
          • core/src/main/resources/lib/form/textarea/textarea.js
          • test/src/test/groovy/lib/form/ApplyButtonTest.groovy
          • changelog.html
          • test/src/test/resources/lib/form/JSON.js

          dogfood added a comment - Integrated in jenkins_main_trunk #2644 [FIXED JENKINS-18436] (Revision 2ffece9d737f4a77ed4059c777948299daf22771) Result = UNSTABLE kohsuke : 2ffece9d737f4a77ed4059c777948299daf22771 Files : core/src/main/resources/lib/form/apply.jelly core/src/main/resources/lib/form/apply/apply.js core/src/main/resources/lib/form/textarea/textarea.js test/src/test/groovy/lib/form/ApplyButtonTest.groovy changelog.html test/src/test/resources/lib/form/JSON.js

            kohsuke Kohsuke Kawaguchi
            kohsuke Kohsuke Kawaguchi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: