63 * @param default_value : value if the field is empty |
63 * @param default_value : value if the field is empty |
64 */ |
64 */ |
65 loadInlineEditionForm: function(formid, eid, rtype, role, divid, reload, vid, default_value) { |
65 loadInlineEditionForm: function(formid, eid, rtype, role, divid, reload, vid, default_value) { |
66 var args = {fname: 'reledit_form', rtype: rtype, role: role, |
66 var args = {fname: 'reledit_form', rtype: rtype, role: role, |
67 pageid: pageid, |
67 pageid: pageid, |
68 eid: eid, divid: divid, formid: formid, |
68 eid: eid, divid: divid, formid: formid, |
69 reload: reload, vid: vid, default_value: default_value, |
69 reload: reload, vid: vid, default_value: default_value, |
70 callback: function () {cw.reledit.showInlineEditionForm(divid);}}; |
70 callback: function () {cw.reledit.showInlineEditionForm(divid);}}; |
71 jQuery('#'+divid+'-reledit').parent().loadxhtml(JSON_BASE_URL, args, 'post'); |
71 jQuery('#'+divid+'-reledit').parent().loadxhtml(JSON_BASE_URL, args, 'post'); |
72 } |
72 } |
73 }); |
73 }); |