File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
app/code/Magento/Sales/view/adminhtml/web/order/edit/address Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 5
5
define ( [
6
6
'jquery'
7
7
] , function ( $ ) {
8
- " use strict" ;
8
+ ' use strict' ;
9
9
10
10
/**
11
11
* Currently Magento App stores both region_id and region (as text) values.
12
12
* To prevent missing region (as text) we need to copy it in hidden field.
13
13
* @param {Array } config
14
- * @param {string } element
14
+ * @param {String } element
15
15
*/
16
16
return function ( config , element ) {
17
17
var form = $ ( element ) ,
18
18
regionId = form . find ( '#region_id' ) ,
19
+
19
20
/**
20
21
* Set region callback
21
- *
22
- * @return void
23
22
*/
24
- setRegion = function ( ) {
23
+ setRegion = function ( ) {
25
24
form . find ( '#region' ) . val ( regionId . filter ( ':visible' ) . find ( ':selected' ) . text ( ) ) ;
26
25
} ;
27
26
You can’t perform that action at this time.
0 commit comments