From a98d543666ef272243bd167647e79073222b0a9d Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" <nastasi@alternativeoutput.it> Date: Thu, 12 Jan 2017 07:17:24 +0100 Subject: [PATCH] lastest modifies --- TODO.txt | 5 +++++ web/error.php | 1 + web/index.php | 4 ++-- web/prefs.js | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/TODO.txt b/TODO.txt index 375999f..b6b4f08 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,6 +1,11 @@ TODO | ------+ + Prefs as fieldify: + - save works + - supporter prefs work + - rename prefsf to prefs and cleanup + BUGS | ------+ - usermgmt: add user delete (with mail) diff --git a/web/error.php b/web/error.php index 79ed872..8835a84 100644 --- a/web/error.php +++ b/web/error.php @@ -149,5 +149,6 @@ printf($brisk_header_form); <div id="xhrlog"></div> </pre> <div id="xhrdeltalog"></div> + <?php phpinfo(); ?> </body> </html> diff --git a/web/index.php b/web/index.php index b2d853f..4929b34 100644 --- a/web/index.php +++ b/web/index.php @@ -1679,9 +1679,9 @@ title="<?php echo $mlang_room['suppcomp_range'][$G_lang];?>"> </div> </div> <div class="notify_clo"> -<input type="submit" class="input_sub" style="bottom: 4px;" onclick="g_prefsf.visible(false);" value="<?php echo $mlang_room['btn_close'][$G_lang]; ?>"/> +<input type="submit" class="input_sub" style="bottom: 4px;" onclick="g_prefsf.close();" value="<?php echo $mlang_room['btn_close'][$G_lang]; ?>"/> <input type="submit" class="input_sub" style="bottom: 4px;" onclick="g_prefsf.reset();" value="<?php echo $mlang_room['btn_reset'][$G_lang]; ?>"/> -<input type="submit" class="input_sub" style="bottom: 4px;" onclick="g_prefsf.save();" value="<?php echo $mlang_room['btn_save'][$G_lang]; ?>"/> +<input type="submit" class="input_sub" style="bottom: 4px;" onclick="g_prefsf.save(); /* Fieldify.save(null, g_prefsf.dom_elements[0]); */" value="<?php echo $mlang_room['btn_save'][$G_lang]; ?>"/> </div> </div> <!-- end prefsf --> diff --git a/web/prefs.js b/web/prefs.js index 639c055..eb664ed 100644 --- a/web/prefs.js +++ b/web/prefs.js @@ -490,7 +490,7 @@ function g_prefsf_listen_cb(item) } } -function g_prefsf_comps_cb(item) +function g_prefsf_comps_cb(item, type) { console.log(item); console.log(g_prefsf); -- 2.17.1