This commit is contained in:
xdrm-brackets 2016-07-19 11:31:37 +02:00
parent a778bac165
commit eb66ddd3e3
2 changed files with 5 additions and 3 deletions

View File

@ -418,9 +418,9 @@
/* [3] Retorne les données
=========================================================*/
return [
'actions' => $actions,
'globalStates' => $globalStates,
'chips' => $chips
'actions' => $actions,
'states' => $globalStates,
'chips' => $chips
];
}

View File

@ -237,6 +237,7 @@
var lsi = new localStorageInterface();
lsi.createDataset('STATES.CNF' );
lsi.createDataset('ACTIONS.CNF');
lsi.createDataset('CHIPS.CNF');
lsi.createDataset('USERS.CNF' );
lsi.createDataset('SERVER.CNF' );
lsi.createDataset('HISTORY.LOG');
@ -248,6 +249,7 @@
api.send({path: 'machineDefault/init'}, function(response){
lsi.import('ACTIONS.CNF', response.actions);
lsi.import('STATES.CNF', response.states);
lsi.import('CHIPS.CNF', response.chips);
});
/* (5) On initialise la carte + les puces */