Skip to content

Commit

Permalink
Fix: save asset doesn't work (#513)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertSt7 committed Apr 24, 2024
1 parent e9bc094 commit 3d20dc8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions public/js/pimcore/asset/asset.js
Original file line number Diff line number Diff line change
Expand Up @@ -458,11 +458,13 @@ pimcore.asset.asset = Class.create(pimcore.element.abstract, {


let params = this.getSaveData(only);
if (task && params) {
if (task) {
if(!params) {
this.tab.unmask();
return;
}

params.task = task;
} else {
this.tab.unmask();
return;
}

Ext.Ajax.request({
Expand Down

0 comments on commit 3d20dc8

Please sign in to comment.