community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1864345 - in /comdev/reporter.apache.org/trunk/site/wizard/js: source/drafts.js source/primer.js wizard.js
Date Sat, 03 Aug 2019 21:46:33 GMT
Author: humbedooh
Date: Sat Aug  3 21:46:33 2019
New Revision: 1864345

URL: http://svn.apache.org/viewvc?rev=1864345&view=rev
Log:
tweak title visibility during loading

Modified:
    comdev/reporter.apache.org/trunk/site/wizard/js/source/drafts.js
    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/drafts.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/source/drafts.js?rev=1864345&r1=1864344&r2=1864345&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 Sat Aug  3 21:46:33 2019
@@ -133,6 +133,7 @@ function publish_report() {
     document.getElementById('loader_text').innerText = "Publishing report, hang on...";
     document.getElementById('wizard_spinner').style.display = 'block';
     document.getElementById('wrapper').style.display = 'none';
+    document.getElementById("pname").style.display = 'none';
     
     POST('whimsy.py', report_published, {}, formdata);
 }
@@ -141,6 +142,7 @@ function report_published(state, json) {
   // Disengage spinner
   document.getElementById('wizard_spinner').style.display = 'none';
   document.getElementById('wrapper').style.display = 'block';
+  document.getElementById("pname").style.display = 'block';
   
   if (json && json.okay) {
     modal("Your report was successfully posted to the board agenda!");

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=1864345&r1=1864344&r2=1864345&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 Sat Aug  3 21:46:33 2019
@@ -47,6 +47,7 @@ function prime_steps(state, json) {
     let stepper = new ReportStepper('unified-steps', editor, json.steps, 'unified-helper');
     editor.stepper = stepper;
     stepper.pdata = pdata;
-    stepper.build(0, true);    
+    stepper.build(0, true);
+    document.getElementById("pname").style.display = 'block';
 }
 

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=1864345&r1=1864344&r2=1864345&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js Sat Aug  3 21:46:33 2019
@@ -1148,6 +1148,7 @@ function publish_report() {
     document.getElementById('loader_text').innerText = "Publishing report, hang on...";
     document.getElementById('wizard_spinner').style.display = 'block';
     document.getElementById('wrapper').style.display = 'none';
+    document.getElementById("pname").style.display = 'none';
     
     POST('whimsy.py', report_published, {}, formdata);
 }
@@ -1156,6 +1157,7 @@ function report_published(state, json) {
   // Disengage spinner
   document.getElementById('wizard_spinner').style.display = 'none';
   document.getElementById('wrapper').style.display = 'block';
+  document.getElementById("pname").style.display = 'block';
   
   if (json && json.okay) {
     modal("Your report was successfully posted to the board agenda!");
@@ -1633,7 +1635,8 @@ function prime_steps(state, json) {
     let stepper = new ReportStepper('unified-steps', editor, json.steps, 'unified-helper');
     editor.stepper = stepper;
     stepper.pdata = pdata;
-    stepper.build(0, true);    
+    stepper.build(0, true);
+    document.getElementById("pname").style.display = 'block';
 }
 
 



Mime
View raw message