From 6bcabf17a79fc40eb777590eaa6896ba0e95c025 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 9 Nov 2016 14:06:58 +0100 Subject: [PATCH] kivi.SalesPurchase.js: Warnung vermeiden --- js/kivi.SalesPurchase.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.')); -- 2.20.1