mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-18 00:55:02 +00:00
fix in messages
This commit is contained in:
@@ -56,6 +56,12 @@ def get_active_users(arg=None):
|
||||
@webnotes.whitelist()
|
||||
def post(arg=None):
|
||||
"""post message"""
|
||||
if arg:
|
||||
import json
|
||||
arg = json.loads(arg)
|
||||
else:
|
||||
arg = {}
|
||||
arg.update(webnotes.form_dict)
|
||||
from webnotes.model.doc import Document
|
||||
d = Document('Comment Widget Record')
|
||||
d.comment = arg['txt']
|
||||
|
||||
Reference in New Issue
Block a user