From a812bc799e5a72a9abfde9c223a0aa9bd47f9751 Mon Sep 17 00:00:00 2001 From: knightliao Date: Mon, 26 Oct 2015 16:31:46 +0800 Subject: [PATCH] fix html bug --- disconf-web/html/assets/js/newconfigfile.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/disconf-web/html/assets/js/newconfigfile.js b/disconf-web/html/assets/js/newconfigfile.js index f6ceb0b19..ef2103c48 100644 --- a/disconf-web/html/assets/js/newconfigfile.js +++ b/disconf-web/html/assets/js/newconfigfile.js @@ -211,6 +211,10 @@ $("#uploadChoice").on( 'click', function (e) { + if (version == '自定义版本') { + version = $('#selfversion_value').val(); + } + $("#error").addClass("hide"); var fileName = $("#fileName").val();