mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-23 16:25:19 +03:00
Drop Global Functions support
This commit is contained in:
parent
752cd2360e
commit
0dcf1a9e58
7 changed files with 43 additions and 441 deletions
|
@ -13,15 +13,13 @@ TABS.programming.initialize = function (callback, scrollPosition) {
|
|||
}
|
||||
|
||||
loadChainer.setChain([
|
||||
mspHelper.loadLogicConditions,
|
||||
mspHelper.loadGlobalFunctions
|
||||
mspHelper.loadLogicConditions
|
||||
]);
|
||||
loadChainer.setExitPoint(loadHtml);
|
||||
loadChainer.execute();
|
||||
|
||||
saveChainer.setChain([
|
||||
mspHelper.sendLogicConditions,
|
||||
mspHelper.sendGlobalFunctions,
|
||||
mspHelper.saveToEeprom
|
||||
]);
|
||||
|
||||
|
@ -37,12 +35,9 @@ TABS.programming.initialize = function (callback, scrollPosition) {
|
|||
|
||||
function processHtml() {
|
||||
|
||||
LOGIC_CONDITIONS.init($('#logic-wrapper'));
|
||||
LOGIC_CONDITIONS.init($('#programming-main-content'));
|
||||
LOGIC_CONDITIONS.render();
|
||||
|
||||
GLOBAL_FUNCTIONS.init($('#functions-wrapper'));
|
||||
GLOBAL_FUNCTIONS.render();
|
||||
|
||||
helper.tabs.init($('.tab-programming'));
|
||||
|
||||
localize();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue