community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1864228 - in /comdev/reporter.apache.org/trunk/site/wizard/js: source/stepper.js wizard.js
Date Fri, 02 Aug 2019 13:45:25 GMT
Author: humbedooh
Date: Fri Aug  2 13:45:25 2019
New Revision: 1864228

URL: http://svn.apache.org/viewvc?rev=1864228&view=rev
Log:
prefer rawname for finding position over description

Modified:
    comdev/reporter.apache.org/trunk/site/wizard/js/source/stepper.js
    comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/source/stepper.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/source/stepper.js?rev=1864228&r1=1864227&r2=1864228&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/source/stepper.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/source/stepper.js Fri Aug  2 13:45:25
2019
@@ -78,7 +78,7 @@ function ReportStepper(div, editor, layo
             }
             // If clicked to a section, move cursor
             if (!noclick) {
-                this.editor.set_position(step.description);
+                this.editor.set_position(step.rawname||step.description);
             }
             if (this.changed || !noclick)  this.editor.mark_section(step.rawname||step.description);
             else {

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js?rev=1864228&r1=1864227&r2=1864228&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js Fri Aug  2 13:45:25 2019
@@ -1832,7 +1832,7 @@ function ReportStepper(div, editor, layo
             }
             // If clicked to a section, move cursor
             if (!noclick) {
-                this.editor.set_position(step.description);
+                this.editor.set_position(step.rawname||step.description);
             }
             if (this.changed || !noclick)  this.editor.mark_section(step.rawname||step.description);
             else {



Mime
View raw message