File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed
panel/src/components/Forms Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,6 @@ export default {
62
62
// the `$panel.content.update()` event sends
63
63
// the updated form value object to the server
64
64
await this .$panel .content .update ();
65
-
66
- this .$events .emit (" file.upload" );
67
- this .$events .emit (" model.update" );
68
65
}
69
66
}
70
67
};
Original file line number Diff line number Diff line change @@ -208,12 +208,6 @@ export default {
208
208
// the `$panel.content.update()` event sends
209
209
// the updated text value object to the server
210
210
await this .$panel .content .update ();
211
-
212
- // refresh the view afterwards to show the new file
213
- // in other sections and update the textarea value
214
- // this.$panel.view.reload();
215
- this .$panel .events .emit (" file.upload" );
216
- this .$panel .events .emit (" model.update" );
217
211
},
218
212
onCommand (command , ... args ) {
219
213
if (typeof this [command] !== " function" ) {
You can’t perform that action at this time.
0 commit comments