Merge with @alexk307 added comments save support
Added comments save support Centralized save Keep 'w' as key to save post/comment
This commit is contained in:
@@ -157,7 +157,7 @@ class Page(object):
|
||||
|
||||
@PageController.register('w')
|
||||
@logged_in
|
||||
def savepost(self):
|
||||
def save(self):
|
||||
data = self.content.get(self.nav.absolute_index)
|
||||
if 'saved' not in data:
|
||||
self.term.flash()
|
||||
|
||||
Reference in New Issue
Block a user