community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1864124 - in /comdev/reporter.apache.org/trunk/site/wizard/js: source/drafts.js wizard.js
Date Thu, 01 Aug 2019 07:54:42 GMT
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;



Mime
View raw message