From a169a5d66e938a128955804a2ac386b49387479c Mon Sep 17 00:00:00 2001 From: "cek@posta.indivia.net" Date: Sat, 18 Mar 2017 15:43:44 +0100 Subject: [PATCH] diviso il js in piu' file --- www/index.html | 4 +- www/js/main.js | 698 ++++++++++++++++------------------------------- www/js/query.js | 335 +++++++++++++++++++++++ www/js/update.js | 146 ++++++++++ 4 files changed, 723 insertions(+), 460 deletions(-) create mode 100644 www/js/query.js create mode 100644 www/js/update.js diff --git a/www/index.html b/www/index.html index 105af6a..66564fd 100644 --- a/www/index.html +++ b/www/index.html @@ -36,6 +36,8 @@ + + @@ -420,4 +422,4 @@ - \ No newline at end of file + diff --git a/www/js/main.js b/www/js/main.js index 2e29f85..a14f362 100644 --- a/www/js/main.js +++ b/www/js/main.js @@ -118,9 +118,9 @@ function benvenuta() { $("#benvenuta").popup("open"); }; -function aggiornaora() { - $("#aggiornaora").popup("open"); -}; +//function aggiornaora() { +// $("#aggiornaora").popup("open"); +//}; function setFirstRun() { initStorage(); @@ -231,243 +231,243 @@ function postInListTag(div) { }); }; -function initTag(div) { - $.mobile.loading('show'); - FONTE.dbHandler.executeSql("SELECT * FROM xm24_tags ORDER BY date COLLATE NOCASE DESC;", [], function (resultSet) { - var items = []; - for (var i = 0; i < resultSet.rows.length; i++) { - var val = JSON.parse(resultSet.rows.item(i).tag); - var name = val.name; - var slug = val.slug; - var id = val.id; - items.push("
  • " + name + "
  • "); - } - $(div).empty(); - $("