mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
[fix] [client script] call cur_frm.cscript.custom_ type functions in the callback of standard functions
This commit is contained in:
@@ -26,6 +26,6 @@ cur_frm.cscript.merge = function(doc, cdt, cdn) {
|
||||
var check = confirm("Are you sure you want to merge this warehouse into "
|
||||
+ doc.merge_with + "?");
|
||||
if (check) {
|
||||
$c_obj(make_doclist(cdt, cdn), 'merge_warehouses', '', '');
|
||||
return $c_obj(make_doclist(cdt, cdn), 'merge_warehouses', '', '');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user