html += '<option value="" data-l10n="Choose..."' + selected + '></option>';
hasSelected = value === '';
$.each(f.options, function (k, v) {
+ if(!v){
+ return;
+ }
if (value == k) {
hasSelected = true;
}
$root = __DIR__ . '/../';
$js = $root . 'js/data.js';
$xlsx = $root . '/_doc/data.xlsx';
-$data = postFiles('https://extranet.cubedesigners.com/tools/convertXlsxToJson', $xlsx, 'file', ['dataorg' => 'excelToArray', 'format' => 'js']);
+$data = postFiles('https://toolbox.fluidbook.com/opentools/doexcel2json', $xlsx, 'file', ['dataorg' => 'excelToArray', 'format' => 'js']);
$data = str_replace('"SUISSE"', '"CH"',$data);
file_put_contents($js, $data);
header('Location: ../');
\ No newline at end of file