Skip to content

Commit 1cd4495

Browse files
author
joiecaquicla
committed
#1802: The three dots context menu is not closed after unsuccessful licensing from Media Gallery - closed context menu after unsuccessful licensing
1 parent 4f5b531 commit 1cd4495

File tree

1 file changed

+1
-0
lines changed
  • AdobeStockImageAdminUi/view/adminhtml/web/js/mediaGallery/grid/columns/image

1 file changed

+1
-0
lines changed

AdobeStockImageAdminUi/view/adminhtml/web/js/mediaGallery/grid/columns/image/licenseActions.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ define([
9898
this.imageModel().addMessage('success', $.mage.__('The image has been licensed.'));
9999
}.bind(this)).fail(function (error) {
100100
if (error) {
101+
$('ul.action-menu').removeClass('_active');
101102
this.imageModel().addMessage('error', error);
102103
}
103104
}.bind(this));

0 commit comments

Comments
 (0)