fix: navigate between role profiles not changes the roles
This commit is contained in:
parent
d3e8cad270
commit
1d4a14802e
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Role Profile', {
|
||||
setup: function(frm) {
|
||||
refresh: function(frm) {
|
||||
if(has_common(frappe.user_roles, ["Administrator", "System Manager"])) {
|
||||
if(!frm.roles_editor) {
|
||||
var role_area = $('<div style="min-height: 300px">')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue