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) {
|
reader.onload = function(event) {
|
||||||
var data = JSON.parse(reader.result)
|
var data = JSON.parse(reader.result)
|
||||||
api('setPresets', {
|
api('setPresets', {
|
||||||
'presets': presets
|
'presets': data
|
||||||
}, function(response) {
|
}, function(response) {
|
||||||
presets = response.result.presets
|
presets = response.result.presets
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user