File tree Expand file tree Collapse file tree 4 files changed +15
-14
lines changed
app/code/Magento/Ui/view/base/web Expand file tree Collapse file tree 4 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ define([
18
18
title : '' ,
19
19
subTitle : '' ,
20
20
options : {
21
+ modalClass : '' ,
21
22
title : '' ,
22
23
subTitle : '' ,
23
24
buttons : [ ] ,
Original file line number Diff line number Diff line change 5
5
*/
6
6
-->
7
7
8
- < aside class ="modal-<%= data.type %> <%= data.modalClass %>
9
- <% if(data.responsive){ %><%= data.responsiveClass %><% } %>
10
- <% if(data.innerScroll){ %><%= data.innerScrollClass %><% } %> "
8
+ < aside class ="modal-<%- data.type %> <%- data.modalClass %>
9
+ <% if(data.responsive){ %><%- data.responsiveClass %><% } %>
10
+ <% if(data.innerScroll){ %><%- data.innerScrollClass %><% } %> "
11
11
data-role ="modal "
12
- data-type ="<%= data.type %> "
12
+ data-type ="<%- data.type %> "
13
13
tabindex ="0 ">
14
14
< div data-role ="focusable-start " tabindex ="0 "> </ div >
15
15
< div class ="modal-inner-wrap "
31
31
< footer class ="modal-footer ">
32
32
< % _.each(data.buttons, function(button) { %>
33
33
< button
34
- class ="<%= button.class %> "
34
+ class ="<%- button.class %> "
35
35
type ="button "
36
36
data-role ="action "> < span > < %= button.text %> </ span > </ button >
37
37
< % }); %>
Original file line number Diff line number Diff line change 6
6
-->
7
7
8
8
< aside
9
- class ="modal-<%= data.type %> <%= data.modalClass %>
10
- <% if(data.responsive){ %><%= data.responsiveClass %><% } %>
11
- <% if(data.innerScroll){ %><%= data.innerScrollClass %><% } %> "
9
+ class ="modal-<%- data.type %> <%- data.modalClass %>
10
+ <% if(data.responsive){ %><%- data.responsiveClass %><% } %>
11
+ <% if(data.innerScroll){ %><%- data.innerScrollClass %><% } %> "
12
12
data-role ="modal "
13
- data-type ="<%= data.type %> "
13
+ data-type ="<%- data.type %> "
14
14
tabindex ="0 ">
15
15
< div data-role ="focusable-start " tabindex ="0 "> </ div >
16
16
< div class ="modal-inner-wrap "
34
34
< footer class ="modal-footer ">
35
35
< % _.each(data.buttons, function(button) { %>
36
36
< button
37
- class ="<%= button.class %> "
37
+ class ="<%- button.class %> "
38
38
type ="button "
39
39
data-role ="action "> < span > < %= button.text %> </ span > </ button >
40
40
< % }); %>
Original file line number Diff line number Diff line change 6
6
-->
7
7
8
8
< aside
9
- class ="modal-<%= data.type %> <%= data.modalClass %>
10
- <% if(data.innerScroll){ %><%= data.innerScrollClass %><% } %> "
9
+ class ="modal-<%- data.type %> <%- data.modalClass %>
10
+ <% if(data.innerScroll){ %><%- data.innerScrollClass %><% } %> "
11
11
data-role ="modal "
12
- data-type ="<%= data.type %> "
12
+ data-type ="<%- data.type %> "
13
13
tabindex ="0 ">
14
14
< div data-role ="focusable-start " tabindex ="0 "> </ div >
15
15
< div class ="modal-inner-wrap "
38
38
< div class ="page-actions-buttons ">
39
39
< % _.each(data.buttons, function(button) { %>
40
40
< button
41
- class ="<%= button.class %> "
41
+ class ="<%- button.class %> "
42
42
type ="button "
43
43
data-role ="action "> < span > < %= button.text %> </ span >
44
44
</ button >
You can’t perform that action at this time.
0 commit comments