actually load presets
This commit is contained in:
parent
1034fb4b5c
commit
fa6092784c
|
@ -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
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user