community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1864103 - in /comdev/reporter.apache.org/trunk/site/wizard/js: source/primer.js wizard.js
Date Wed, 31 Jul 2019 20:24:25 GMT
Author: humbedooh
Date: Wed Jul 31 20:24:25 2019
New Revision: 1864103

URL: http://svn.apache.org/viewvc?rev=1864103&view=rev
Log:
hide tip div when there is nothing to show

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

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/source/primer.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/source/primer.js?rev=1864103&r1=1864102&r2=1864103&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/source/primer.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/source/primer.js Wed Jul 31 20:24:25 2019
@@ -105,6 +105,8 @@ function build_steps(s, start) {
                 if (data && data.length > 0) {
                     tip.innerHTML = data;
                     tip.style.display = 'block';
+                } else {
+                    tip.style.display = 'none';
                 }
             } else {
                 tip.style.display = 'none';

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=1864103&r1=1864102&r2=1864103&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js Wed Jul 31 20:24:25 2019
@@ -1388,6 +1388,8 @@ function build_steps(s, start) {
                 if (data && data.length > 0) {
                     tip.innerHTML = data;
                     tip.style.display = 'block';
+                } else {
+                    tip.style.display = 'none';
                 }
             } else {
                 tip.style.display = 'none';



Mime
View raw message