From 6c3255df9aff67ad637e72933ca59fb6208d87c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=9F=E8=BF=9B?= Date: Tue, 25 Sep 2018 15:15:16 +0800 Subject: [PATCH] Update index_m.html --- admin/index_m.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/admin/index_m.html b/admin/index_m.html index 542089f..9359e26 100644 --- a/admin/index_m.html +++ b/admin/index_m.html @@ -33,6 +33,22 @@ // the function loadSettings has to exist ... function load(settings, onChange) { + + //zhongjin + + $('#btn_loadsymbole').button().click(function () { + $('#symol_import').trigger('click') + }); + + $('#btn_loaddb').button().click(function () { + $('#db_import').trigger('click') + }); + + + + //end zhongjin + + // example: select elements with id=key and class=value and insert value if (!settings) return; $('.value').each(function () { @@ -56,6 +72,7 @@ M.updateTextFields(); // function Materialize.updateTextFields(); to reinitialize all the Materialize labels on the page if you are dynamically adding inputs. } + // ... and the function save has to exist. // you have to make sure the callback is called with the settings object as first param! function save(callback) {