renaming some stuff

This commit is contained in:
Fabian Stamm 2017-06-20 14:53:08 +02:00
parent d30d3c5688
commit fbd84983ad

View File

@ -47,7 +47,7 @@
<input type="text" id="em" placeholder="minute"/> <input type="text" id="em" placeholder="minute"/>
<input type="text" id="es" placeholder="second"/> <input type="text" id="es" placeholder="second"/>
<input type="text" id="ef" placeholder="frame"/> <input type="text" id="ef" placeholder="frame"/>
<input type="text" id="esu" placeholder="subnet"/> <input type="text" id="esu" placeholder="channel"/>
<input type="text" id="eval" placeholder="value"/> <input type="text" id="eval" placeholder="value"/>
<button onclick="saveEvent()">Speichern</button> <button onclick="saveEvent()">Speichern</button>
</form> </form>
@ -142,7 +142,7 @@
} }
$("#trackname").html(selected.displayName); $("#trackname").html(selected.displayName);
$("#trackfile").html(selected.file !==undefined ? selected.file : ""); $("#trackfile").html(selected.file !==undefined ? selected.file : "");
var t = "<tr><th>ID</th><th>Stunde</th><th>Minute</th><th>Sekunde</th><th>Frame</th><th>ArtNet-ID</th><th>Art-Net Value</th><th>Edit</th><th>Del</th></tr>"; var t = "<tr><th>ID</th><th>Stunde</th><th>Minute</th><th>Sekunde</th><th>Frame</th><th>ArtNet-Kanal</th><th>Art-Net Value</th><th>Edit</th><th>Del</th></tr>";
var sorted = selected.triggers.sort((a, b)=>{ var sorted = selected.triggers.sort((a, b)=>{
if(a.time.lmilliseconds < b.time.lmilliseconds) return -1; if(a.time.lmilliseconds < b.time.lmilliseconds) return -1;
if(a.time.lmilliseconds > b.time.lmilliseconds) return 1; if(a.time.lmilliseconds > b.time.lmilliseconds) return 1;