You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by hu...@apache.org on 2019/07/31 20:24:25 UTC

svn commit: r1864103 - in /comdev/reporter.apache.org/trunk/site/wizard/js: source/primer.js wizard.js

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';