X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/fb722bccec95135d99e8b2b717aece44c71141ad..3b5dc7b68b53ea153b9716f9b85c3b6dc3a71574:/js/kivi.CustomerVendor.js diff --git a/js/kivi.CustomerVendor.js b/js/kivi.CustomerVendor.js index e9b22bedf..f809e3498 100644 --- 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(); - + 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(); }); @@ -208,6 +211,7 @@ namespace('kivi.CustomerVendor', function(ns) { }; this.inline_report = function(target, source, data){ +// alert("HALLO S " + source + " --T " + target + " tt D " + data); $.ajax({ url: source, success: function (rsp) {