From 1ba20c7fa0f520917cad04448220a18d73d8d3ae Mon Sep 17 00:00:00 2001 From: mcramer <m.cramer@pixcept.de> Date: Tue, 15 Jan 2013 04:47:46 -0500 Subject: [PATCH] Fixed: possible problem and memory leak on connection errors - included a maximum loop count of 10 on connection errors - added check of mysqli ping() result --- interface/web/js/uni-form/uni-form.jquery.js | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/interface/web/js/uni-form/uni-form.jquery.js b/interface/web/js/uni-form/uni-form.jquery.js index 99ab409..f103d1f 100644 --- a/interface/web/js/uni-form/uni-form.jquery.js +++ b/interface/web/js/uni-form/uni-form.jquery.js @@ -101,6 +101,7 @@ unit_obj = $("#"+ datetime_id + "_" + unit_name); if (unit_obj.val() !== null) { unit_obj.val(unit_value); + unit_obj.change(); } }); } \ No newline at end of file -- Gitblit v1.9.1