Skip to content

Commit

Permalink
#1589: Hitting Enter key on Edit Image page redirects the user to Mag…
Browse files Browse the repository at this point in the history
…ento Dashboard instead of Saving the image - fixed the error in static test invalid case of type of booelean
  • Loading branch information
yolouiese committed Jul 16, 2020
1 parent 5fa5876 commit 88a31c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MediaGalleryUi/view/adminhtml/web/js/image/image-edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ define([
*
* @param {Object} data
* @param {jQuery.Event} event
* @returns {boolean}
* @returns {Boolean}
*/
handleEnterKey: function (data, event) {
var modalElement = $(this.modalSelector),
Expand Down

0 comments on commit 88a31c9

Please sign in to comment.