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() {
|
||||
loadData(presets.map(function(preset) {
|
||||
return {
|
||||
preset: preset.id,
|
||||
speed: parseInt($('input.default_speed').val(), 10)
|
||||
}
|
||||
}))
|
||||
api('getPresets', {}, function(response) {
|
||||
presets = response.result.presets
|
||||
loadData(presets.map(function(preset) {
|
||||
return {
|
||||
preset: preset.id,
|
||||
speed: parseInt($('input.default_speed').val(), 10)
|
||||
}
|
||||
}))
|
||||
})
|
||||
}})
|
||||
|
||||
$('input.import_sequence').on({change: function() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user