projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pman.Dialog.CoreCompanies.bjs
[Pman.Core]
/
Pman.Dialog.CoreCompanies.js
diff --git
a/Pman.Dialog.CoreCompanies.js
b/Pman.Dialog.CoreCompanies.js
index
35215cd
..
c3d0b54
100644
(file)
--- a/
Pman.Dialog.CoreCompanies.js
+++ b/
Pman.Dialog.CoreCompanies.js
@@
-68,7
+68,7
@@
Pman.Dialog.CoreCompanies = {
if (act.type == 'load') {
_this.data = act.result.data;
- var meth = _this.data.
isOwner || !Pman.Login.isOwner()
? 'disable' : 'enable';
+ var meth = _this.data.
comptype == 'OWNER'
? 'disable' : 'enable';
if (_this.form.findField('comptype')) {