Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make portlet automatically assignable

  • Loading branch information...
commit b908135cf6e37b232a351ddf00245baa1158bd88 1 parent 18fb947
@gyst gyst authored
View
3  plonesocial/microblog/conversation.py
@@ -50,6 +50,9 @@ def addComment(self, comment, do_async=have_async):
in a way that allows async dispatch.
"""
if do_async:
+# addStatus(self.__parent__, comment)
+# return
+
async = getUtility(IAsyncService)
# use PloneSite context to avoid ++conversation++ traversal error
async.queueJob(addStatus, self.__parent__, comment)
View
4 plonesocial/microblog/portlets/microblog.py
@@ -29,7 +29,9 @@ class Assignment(base.Assignment):
title = u"" # overrides readonly property method from base class
- def __init__(self, title, compact):
+ def __init__(self,
+ title="Microblog",
+ compact=True):
self.title = title
self.compact = compact
View
3  plonesocial/microblog/profiles/default/portlets.xml
@@ -5,4 +5,7 @@
title="Microblog"
description=""
/>
+
+ <!-- assignment in plonesocial.suite -->
+
</portlets>
Please sign in to comment.
Something went wrong with that request. Please try again.