We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62f5876 commit 7f044d9Copy full SHA for 7f044d9
lib/web/mage/backend/tabs.js
@@ -183,7 +183,7 @@
183
panel.attr("aria-labelledby", anchorId);
184
if (that.options.excludedPanel.indexOf(anchorId+'_content') < 0) {
185
panel.addClass(that.options.tabPanelClass);
186
- };
+ }
187
});
188
189
this.panels
@@ -318,7 +318,11 @@
318
* @protected
319
*/
320
_onInvalid: function(e) {
321
- var cssError = '_error';
+ var cssError = '_error',
322
+ fakeEvent = e;
323
+
324
+ fakeEvent.currentTarget = $(this.anchors).eq(e.data.index);
325
+ this._eventHandler(fakeEvent);
326
327
this.anchors.eq(e.data.index).addClass(cssError).find('.' + cssError).show();
328
this._updateNavTitleMessages(e, cssError);
0 commit comments