Update index_m.html
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user