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) {