get latest presets
This commit is contained in:
parent
1dd8ac7c16
commit
68ed99df23
|
@ -481,12 +481,15 @@ $('button.export_presets').on({click: function() {
|
||||||
});
|
});
|
||||||
}})
|
}})
|
||||||
$('button.all_presets').on({click: function() {
|
$('button.all_presets').on({click: function() {
|
||||||
loadData(presets.map(function(preset) {
|
api('getPresets', {}, function(response) {
|
||||||
return {
|
presets = response.result.presets
|
||||||
preset: preset.id,
|
loadData(presets.map(function(preset) {
|
||||||
speed: parseInt($('input.default_speed').val(), 10)
|
return {
|
||||||
}
|
preset: preset.id,
|
||||||
}))
|
speed: parseInt($('input.default_speed').val(), 10)
|
||||||
|
}
|
||||||
|
}))
|
||||||
|
})
|
||||||
}})
|
}})
|
||||||
|
|
||||||
$('input.import_sequence').on({change: function() {
|
$('input.import_sequence').on({change: function() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user