From 061d7c84c49b9e63c311123f52a142fc66b4228f Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Tue, 29 Jul 2014 10:59:19 -0400
Subject: [PATCH] Removed backup_dir_mount_cmd option from Sysstem > server config. The option has been replaced by a script /usr/local/ispconfig/server/scripts/backup_dir_mount.sh. If this script exists, is exacutable and is owned by the root user, then it will be executed upfront of the backup jobs when the option "Backup directory is a mount?" is enabled in server config settings.

---
 interface/web/js/uni-form/uni-form.jquery.js |    2 ++
 1 files changed, 2 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 515c557..f103d1f 100644
--- a/interface/web/js/uni-form/uni-form.jquery.js
+++ b/interface/web/js/uni-form/uni-form.jquery.js
@@ -82,6 +82,7 @@
 				break;
 			case 'month':
 				unit_value = now.getMonth() + 1;
+				if(unit_value < 10) unit_value = '0'+unit_value;
 				break;
 			case 'year':
 				unit_value = now.getFullYear();
@@ -100,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