]> wagnertech.de Git - mfinanz.git/blobdiff - js/kivi.CustomerVendor.js
Typo in POD
[mfinanz.git] / js / kivi.CustomerVendor.js
index e9b22bedf37b3628ce7b2f525f1d9db715ef7d9a..f809e3498fbbb441d90a73d690c63018e64dedda 100644 (file)
@@ -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) {