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 18:09:41 UTC
svn commit: r1864173 - in /comdev/reporter.apache.org/trunk/site/wizard/js:
source/drafts.js wizard.js
Author: humbedooh
Date: Thu Aug 1 18:09:41 2019
New Revision: 1864173
URL: http://svn.apache.org/viewvc?rev=1864173&view=rev
Log:
return empty text while loading drafts list..
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=1864173&r1=1864172&r2=1864173&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 18:09:41 2019
@@ -50,7 +50,10 @@ function read_draft(state, json) {
function list_drafts() {
- if (!saved_drafts) GET('drafts.py?action=index&project=%s'.format(project), show_draft_list, {});
+ if (!saved_drafts) {
+ GET('drafts.py?action=index&project=%s'.format(project), show_draft_list, {});
+ return "";
+ }
else {
return show_draft_list();
}
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=1864173&r1=1864172&r2=1864173&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 18:09:41 2019
@@ -1065,7 +1065,10 @@ function read_draft(state, json) {
function list_drafts() {
- if (!saved_drafts) GET('drafts.py?action=index&project=%s'.format(project), show_draft_list, {});
+ if (!saved_drafts) {
+ GET('drafts.py?action=index&project=%s'.format(project), show_draft_list, {});
+ return "";
+ }
else {
return show_draft_list();
}