Skip to content

Commit 99fe2b7

Browse files
committed
Js static test fix
1 parent 48b124b commit 99fe2b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/Catalog/view/adminhtml/web/js/components/new-attribute-form.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ define([
99
'Magento_Ui/js/modal/prompt',
1010
'Magento_Ui/js/modal/alert'
1111
], function ($, Form, prompt, alert) {
12+
'use strict';
1213

1314
return Form.extend({
1415
defaults: {
@@ -42,6 +43,7 @@ define([
4243
var self = this;
4344

4445
this.validate();
46+
4547
if (!this.additionalInvalid && !this.source.get('params.invalid')) {
4648
prompt({
4749
content: this.newSetPromptMessage,

0 commit comments

Comments
 (0)