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/10/06 04:18:15 UTC

svn commit: r1868040 - in /comdev/reporter.apache.org/trunk/site/wizard/js: source/generators.js wizard-beta.js

Author: humbedooh
Date: Sun Oct  6 04:18:15 2019
New Revision: 1868040

URL: http://svn.apache.org/viewvc?rev=1868040&view=rev
Log:
easier to just reuse the spinner div, to be frank...

Modified:
    comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js
    comdev/reporter.apache.org/trunk/site/wizard/js/wizard-beta.js

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js?rev=1868040&r1=1868039&r2=1868040&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js Sun Oct  6 04:18:15 2019
@@ -165,9 +165,7 @@ function pre_splash(state, json) {
 
 function splash(state, json, all) {
     pdata = json;
-    document.getElementById('wizard_spinner').style.display = 'none';
-    let html = document.getElementById('wrapper');
-    html.style.display = 'block';
+    let html = document.getElementById('wizard_spinner');
     let link = all ? 'All projects (<a href="javascript:splash({}, pdata, false);">show only your projects</a>):' : 'Your projects (<a href="javascript:splash({}, pdata, true);">show all projects</a>):'
     html.innerHTML = '<h3>%s</h3>'.format(link);
     let tbl = new HTML('table', {cellpadding: '8px', style: {margin: '20px'}});

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/wizard-beta.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/wizard-beta.js?rev=1868040&r1=1868039&r2=1868040&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/wizard-beta.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/wizard-beta.js Sun Oct  6 04:18:15 2019
@@ -1380,9 +1380,7 @@ function pre_splash(state, json) {
 
 function splash(state, json, all) {
     pdata = json;
-    document.getElementById('wizard_spinner').style.display = 'none';
-    let html = document.getElementById('wrapper');
-    html.style.display = 'block';
+    let html = document.getElementById('wizard_spinner');
     let link = all ? 'All projects (<a href="javascript:splash({}, pdata, false);">show only your projects</a>):' : 'Your projects (<a href="javascript:splash({}, pdata, true);">show all projects</a>):'
     html.innerHTML = '<h3>%s</h3>'.format(link);
     let tbl = new HTML('table', {cellpadding: '8px', style: {margin: '20px'}});