You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by ke...@apache.org on 2019/03/08 21:46:36 UTC
[allura] branch master updated: Clear localStorage of merge request
descriptions after successful create or edit
This is an automated email from the ASF dual-hosted git repository.
kentontaylor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git
The following commit(s) were added to refs/heads/master by this push:
new e57c860 Clear localStorage of merge request descriptions after successful create or edit
e57c860 is described below
commit e57c86012d6d6b60e241f328b09491dbd0af3e11
Author: Dave Brondsema <da...@brondsema.net>
AuthorDate: Mon Feb 25 17:32:41 2019 -0500
Clear localStorage of merge request descriptions after successful create or edit
---
Allura/allura/controllers/repository.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Allura/allura/controllers/repository.py b/Allura/allura/controllers/repository.py
index 8dfe8aa..0989e0c 100644
--- a/Allura/allura/controllers/repository.py
+++ b/Allura/allura/controllers/repository.py
@@ -41,7 +41,7 @@ from allura import model as M
from allura.lib import utils
from allura.lib import helpers as h
from allura.lib import widgets as w
-from allura.lib.decorators import require_post
+from allura.lib.decorators import require_post, memorable_forget
from allura.lib.diff import HtmlSideBySideDiff
from allura.lib.security import require_access, require_authenticated, has_access
from allura.lib.widgets import form_fields as ffw
@@ -186,6 +186,7 @@ class RepoRootController(BaseController, FeedController):
'target_branch': target_branch,
}
+ @memorable_forget()
@expose()
@require_post()
def do_request_merge(self, **kw):
@@ -457,6 +458,7 @@ class MergeRequestController(object):
'summary': self.req['summary']
}
+ @memorable_forget()
@expose()
@require_post()
def do_request_merge_edit(self, **kw):