Skip to content

Commit

Permalink
Merge pull request #27 from germanbisurgi/feature/fix/filefly-editor
Browse files Browse the repository at this point in the history
fix filefly editor
  • Loading branch information
schmunk42 authored Feb 3, 2022
2 parents b4428af + eacc6b9 commit 547355f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/assets/editors/filefly.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,10 @@ class FileflyEditor extends StringEditor {
});

self.jsoneditor.on('moveRow',function() {
self.destroySelectize();
self.initSelectize();
});

self.jsoneditor.on('deleteRow',function() {
self.destroySelectize();
self.initSelectize();
});

Expand All @@ -106,6 +104,7 @@ class FileflyEditor extends StringEditor {

initSelectize () {
var self = this;
this.destroySelectize();
this.ajaxPath = '/filefly/api';

if (this.schema && this.schema.ajaxPath) {
Expand Down

0 comments on commit 547355f

Please sign in to comment.