This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Merge pull request
#1031
from nabinhait/fix1
minor fix in permissions
version-14
Nabin Hait
10 years ago
parent
0072aeb3bb
3935479b22
commit
2a82b9abf3
1 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
frappe/public/js/frappe/model/perm.js
+ 6
- 0
frappe/public/js/frappe/model/perm.js
View File
@@ -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) {
Write
Preview
Loading…
Cancel
Save