From 1d5eefd87be58c4b3fa09aeff38a70fae8eeb519 Mon Sep 17 00:00:00 2001 From: Davide Bongiovanni Date: Sun, 11 Nov 2018 17:31:04 +0100 Subject: [PATCH] Correctly displaying location name --- parts/static/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parts/static/script.js b/parts/static/script.js index 23a5f42..7ad8098 100644 --- a/parts/static/script.js +++ b/parts/static/script.js @@ -30,7 +30,7 @@ function new_entry() { function end_edit() { - $('table#details tr#location td p').text($('table#details tr#location td select option:checked').val()); + $('table#details tr#location td p').text($('table#details tr#location td select option:checked').text()); $('table#details tr#location td p').show(); $('table#details tr#location td select').hide();