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
6ee499a
..
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();
});
@@
-208,6
+211,7
@@
namespace('kivi.CustomerVendor', function(ns) {
};
this.inline_report = function(target, source, data){
};
this.inline_report = function(target, source, data){
+// alert("HALLO S " + source + " --T " + target + " tt D " + data);
$.ajax({
url: source,
success: function (rsp) {
$.ajax({
url: source,
success: function (rsp) {
@@
-271,7
+275,7
@@
namespace('kivi.CustomerVendor', function(ns) {
'filter.all:substr:multi::ilike': term,
'filter.obsolete': 0,
current: this.$real.val(),
'filter.all:substr:multi::ilike': term,
'filter.obsolete': 0,
current: this.$real.val(),
- type: this.o.type,
+ type: this.o.
cv_
type,
};
},
set_item: function(item) {
};
},
set_item: function(item) {