actually load presets

This commit is contained in:
j 2018-12-06 11:44:52 +01:00
parent 1034fb4b5c
commit fa6092784c

View File

@ -591,7 +591,7 @@ $('input.import_presets').on({change: function() {
reader.onload = function(event) {
var data = JSON.parse(reader.result)
api('setPresets', {
'presets': presets
'presets': data
}, function(response) {
presets = response.result.presets
})