Skip to content

Commit 4c25ef3

Browse files
author
olysenko
committed
Merge branch 'MAGETWO-51582' into bugfixes
2 parents d33bb87 + f63ca49 commit 4c25ef3

File tree

1 file changed

+4
-5
lines changed
  • app/code/Magento/Sales/view/adminhtml/web/order/edit/address

1 file changed

+4
-5
lines changed

app/code/Magento/Sales/view/adminhtml/web/order/edit/address/form.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,22 @@
55
define([
66
'jquery'
77
], function ($) {
8-
"use strict";
8+
'use strict';
99

1010
/**
1111
* Currently Magento App stores both region_id and region (as text) values.
1212
* To prevent missing region (as text) we need to copy it in hidden field.
1313
* @param {Array} config
14-
* @param {string} element
14+
* @param {String} element
1515
*/
1616
return function (config, element) {
1717
var form = $(element),
1818
regionId = form.find('#region_id'),
19+
1920
/**
2021
* Set region callback
21-
*
22-
* @return void
2322
*/
24-
setRegion = function() {
23+
setRegion = function () {
2524
form.find('#region').val(regionId.filter(':visible').find(':selected').text());
2625
};
2726

0 commit comments

Comments
 (0)