Fix translate setup/doctype/territory/territory.js
This commit is contained in:
parent
9d6312fac4
commit
119326826a
@ -9,7 +9,7 @@ cur_frm.cscript.set_root_readonly = function(doc) {
|
|||||||
// read-only for root territory
|
// read-only for root territory
|
||||||
if(!doc.parent_territory) {
|
if(!doc.parent_territory) {
|
||||||
cur_frm.perm = [[1,0,0], [1,0,0]];
|
cur_frm.perm = [[1,0,0], [1,0,0]];
|
||||||
cur_frm.set_intro("This is a root territory and cannot be edited.");
|
cur_frm.set_intro(wn._("This is a root territory and cannot be edited."));
|
||||||
} else {
|
} else {
|
||||||
cur_frm.set_intro(null);
|
cur_frm.set_intro(null);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user