Author: humbedooh
Date: Thu Aug  8 14:40:13 2019
New Revision: 1864711

URL: http://svn.apache.org/viewvc?rev=1864711&view=rev
Log:
also check for filed here...

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

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/source/unified.js
URL: 
http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/source/unified.js?rev=1864711&r1=1864710&r2=1864711&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/source/unified.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/source/unified.js Thu Aug  
8 14:40:13 2019
@@ -188,7 +188,7 @@ function UnifiedEditor_mark_section(titl
 // Function for resetting a report to follow layout
 function UnifiedEditor_reset() {
     // Check whether we have a report in agenda, if so reset to that.
-    if (meta_data && meta_data.report) {
+    if (meta_data && meta_data.report && meta_data.filed) {
         load_from_agenda();
         return
     }

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=1864711&r1=1864710&r2=1864711&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 Thu Aug  8 
14:40:13 2019
@@ -3478,7 +3478,7 @@ function UnifiedEditor_mark_section(titl
 // Function for resetting a report to follow layout
 function UnifiedEditor_reset() {
     // Check whether we have a report in agenda, if so reset to that.
-    if (meta_data && meta_data.report) {
+    if (meta_data && meta_data.report && meta_data.filed) {
         load_from_agenda();
         return
     }


Reply via email to