From: Moritz Bunkus Date: Wed, 9 Nov 2016 13:06:58 +0000 (+0100) Subject: kivi.SalesPurchase.js: Warnung vermeiden X-Git-Tag: release-3.5.4~1716 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6bcabf17a79fc40eb777590eaa6896ba0e95c025;p=kivitendo-erp.git kivi.SalesPurchase.js: Warnung vermeiden --- diff --git a/js/kivi.SalesPurchase.js b/js/kivi.SalesPurchase.js index 3e8dc6392..643d90e94 100644 --- a/js/kivi.SalesPurchase.js +++ b/js/kivi.SalesPurchase.js @@ -81,7 +81,7 @@ namespace('kivi.SalesPurchase', function(ns) { }; this.check_transaction_description = function() { - if ($('#transaction_description').val() != '') + if ($('#transaction_description').val() !== '') return true; alert(kivi.t8('A transaction description is required.'));