From eb55df0aa379f219aefe664345e3a737bf548d0f Mon Sep 17 00:00:00 2001 From: Anand Doshi <anand@iwebnotes.com> Date: Thu, 8 Mar 2012 12:06:27 +0530 Subject: [PATCH] fix in messages --- erpnext/utilities/page/messages/messages.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/erpnext/utilities/page/messages/messages.py b/erpnext/utilities/page/messages/messages.py index b28299164c..900fa6cfdf 100644 --- a/erpnext/utilities/page/messages/messages.py +++ b/erpnext/utilities/page/messages/messages.py @@ -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']); - \ No newline at end of file +