Update index_m.html

This commit is contained in:
2018-09-25 15:15:16 +08:00
parent 6402bd1ce1
commit 6c3255df9a

View File

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