Skip to content
Snippets Groups Projects
Commit b7217c3c6902 authored by Graziella Toutoungis's avatar Graziella Toutoungis
Browse files

fix a bug: the js method name

           miss an arg
parent a9af1f6db141
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@
if (select) {
format = firstSelected(select);
}
d = async_remote_exec(funcname, eid, comment, format);
d = asyncRemoteExec(funcname, eid, comment, format);
d.addCallback(function () {
var rooteid = getNode('commentsectionComponent').getAttribute('cubicweb:rooteid');
reloadComponent('commentsection', rql_for_eid(rooteid), 'contentnavigation');
......
......@@ -179,6 +179,7 @@
Button(stdmsgs.BUTTON_CANCEL,
onclick=self.jsfunc % (jseid, ''))]
form = self.vreg.select_object('forms', 'edition', self.req,
None,
entity=newcomment,
form_buttons=buttons,
attrcategories=('primary',))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment