Commit 9c00fc38 authored by anne.matthes's avatar anne.matthes
Browse files

Fixed OXUIB-609: "Remove photo" button greyed out after image resolution is too high

Root cause: Buttons were not enabled after dialog gets idle
Solution: Set dialog to idle also when cropped image can't be loaded

(cherry picked from commit b418cda5)
parent 4de42dbb
Pipeline #142593 failed with stages
in 28 minutes and 39 seconds
......@@ -202,7 +202,7 @@ define('io.ox/backbone/views/edit-picture', [
.addButton({ label: gt('Apply'), action: 'apply' })
.on('open', function () {
this.busy();
this.load().done(this.idle);
this.load().always(this.idle);
})
.on('action', function (action) {
switch (action) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment