[patch] No spinner in has_permission
This commit is contained in:
parent
03adcd8da1
commit
f0d564538e
1 changed files with 1 additions and 0 deletions
|
|
@ -160,6 +160,7 @@ $.extend(wn, {
|
|||
has_permission: function(doctype, docname, perm_type, callback) {
|
||||
return wn.call({
|
||||
method: "webnotes.client.has_permission",
|
||||
no_spinner: true,
|
||||
args: {doctype: doctype, docname: docname, perm_type: perm_type},
|
||||
callback: function(r) {
|
||||
if(!r.exc && r.message.has_permission) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue