minor fix in permissions
This commit is contained in:
parent
0072aeb3bb
commit
3935479b22
1 changed files with 6 additions and 0 deletions
|
|
@ -105,6 +105,12 @@ $.extend(frappe.perm, {
|
|||
delete perm[0][key];
|
||||
}
|
||||
});
|
||||
|
||||
$.each(perm, function(i, v) {
|
||||
if(v===undefined) {
|
||||
perm[i] = {};
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
get_match_rules: function(doctype, ptype) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue