From 53491d4ce8db9f194dd125197b44aefa48c6ad71 Mon Sep 17 00:00:00 2001 From: Nils Kenneweg Date: Thu, 19 Sep 2013 10:39:59 +0200 Subject: [PATCH] blur input field. remove calendar.js requirement. --- app/assets/javascripts/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 0401a40c5b..c90b553553 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -57,7 +57,6 @@ //= require findDomElement //= require context_menu //= require jstoolbar -//= require calendar //= require ajaxappender //= require issues //= require work_packages @@ -82,6 +81,7 @@ jQuery(document).ready(function ($) { inst = this._getInst(target[0]), dateStr = $.datepicker._formatDate(inst); target.val(dateStr); + target.blur(); $.datepicker._hideDatepicker(); };