From f856cc5c3445051a31bff15a5d973ba9a423fe9b Mon Sep 17 00:00:00 2001 From: redup nomade Date: Sat, 10 Dec 2016 22:17:46 +0100 Subject: [PATCH] popup1 che si chiude al click fatto --- furgaclient/www/js/spesefurga.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/furgaclient/www/js/spesefurga.js b/furgaclient/www/js/spesefurga.js index 02c61f1..8c8aa5b 100644 --- a/furgaclient/www/js/spesefurga.js +++ b/furgaclient/www/js/spesefurga.js @@ -157,8 +157,10 @@ initProgetto(); function cambianomeprogetto(){ prog_name = $("#p-name").val(); + localStorage.setItem(prog_name, name); $('.prog-name').text(prog_name); $('#prog-0').text(prog_name); + $("#popup1").popup("close"); }