Merge branch 'handlerupdate' of github.com:webnotes/erpnext into handlerupdate

This commit is contained in:
Rushabh Mehta 2012-03-08 07:36:57 +01:00
commit 21f5407949

View File

@ -56,8 +56,6 @@ def get_active_users(arg=None):
@webnotes.whitelist()
def post(arg=None):
"""post message"""
import json
arg = json.loads(arg)
from webnotes.model.doc import Document
d = Document('Comment Widget Record')
d.comment = arg['txt']
@ -69,4 +67,4 @@ def post(arg=None):
def delete(arg=None):
webnotes.conn.sql("""delete from `tabComment Widget Record` where name=%s""",
webnotes.form_dict['name']);