projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LXDebug: fix level2string für diverse Level, inklusive WARN()
[kivitendo-erp.git]
/
js
/
kivi.CustomerVendor.js
diff --git
a/js/kivi.CustomerVendor.js
b/js/kivi.CustomerVendor.js
index
d489d07
..
f809e34
100644
(file)
--- a/
js/kivi.CustomerVendor.js
+++ b/
js/kivi.CustomerVendor.js
@@
-71,7
+71,10
@@
namespace('kivi.CustomerVendor', function(ns) {
$('#action_delete_contact').show();
else
$('#action_delete_contact').hide();
$('#action_delete_contact').show();
else
$('#action_delete_contact').hide();
-
+ if (data.contact.disable_cp_main === 1)
+ $("#contact_cp_main").prop("disabled", true);
+ else
+ $("#contact_cp_main").prop("disabled", false);
if ( params.onFormSet )
params.onFormSet();
});
if ( params.onFormSet )
params.onFormSet();
});