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/08/01 07:54:42 UTC
svn commit: r1864124 - in /comdev/reporter.apache.org/trunk/site/wizard/js:
source/drafts.js wizard.js
Author: humbedooh
Date: Thu Aug 1 07:54:41 2019
New Revision: 1864124
URL: http://svn.apache.org/viewvc?rev=1864124&view=rev
Log:
always hide tip if no drafts found
Modified:
comdev/reporter.apache.org/trunk/site/wizard/js/source/drafts.js
comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js
Modified: comdev/reporter.apache.org/trunk/site/wizard/js/source/drafts.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/source/drafts.js?rev=1864124&r1=1864123&r2=1864124&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/source/drafts.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/source/drafts.js Thu Aug 1 07:54:41 2019
@@ -79,6 +79,8 @@ function show_draft_list(state, json) {
if (txt.length > 0) {
tip.style.display = 'block';
tip.innerHTML = txt;
+ } else {
+ tip.style.display = 'none';
}
} else {
return txt;
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=1864124&r1=1864123&r2=1864124&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js Thu Aug 1 07:54:41 2019
@@ -1094,6 +1094,8 @@ function show_draft_list(state, json) {
if (txt.length > 0) {
tip.style.display = 'block';
tip.innerHTML = txt;
+ } else {
+ tip.style.display = 'none';
}
} else {
return txt;