Skip to content

Commit fc735a3

Browse files
author
Volodymyr Zaets
committed
MAGETWO-52329: [PR] Prepare and process PR
- Fix codestyle
1 parent 9aad31b commit fc735a3

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundlePanel.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,6 @@ protected function getBundleOptions()
272272
'template' => 'ui/dynamic-rows/templates/collapsible',
273273
'label' => '',
274274
'additionalClasses' => 'admin__field-wide',
275-
'itemTemplate' => 'record',
276275
'collapsibleHeader' => true,
277276
'columnsHeader' => false,
278277
'deleteProperty' => false,
@@ -327,7 +326,6 @@ protected function getBundleOptions()
327326
'renderDefaultRecord' => true,
328327
'columnsHeader' => false,
329328
'columnsHeaderAfterRender' => true,
330-
'recordTemplate' => 'record',
331329
'provider' => 'product_form.product_form_data_source',
332330
'dataProvider' => '${ $.dataScope }' . '.bundle_button_proxy',
333331
'identificationDRProperty' => 'product_id',

app/code/Magento/Ui/view/base/web/js/dynamic-rows/dynamic-rows.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,8 +557,11 @@ define([
557557
}
558558

559559
elems.forEach(function (record) {
560-
_.where(record.elems(), {formElement: 'select'}).forEach(function (elem) {
561-
elem.value(undefined)
560+
_.where(record.elems(),
561+
{
562+
formElement: 'select'
563+
}).forEach(function (elem) {
564+
elem.value(undefined);
562565
});
563566
});
564567

app/code/Magento/Ui/view/base/web/js/lib/core/collection.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,8 @@ define([
226226

227227
/**
228228
* Destroys collection along with its' elements.
229-
* @param {Boolean} skipUpdate - skip collection update when element to be destroyed.
230229
*/
231-
destroy: function (skipUpdate) {
230+
destroy: function () {
232231
this._super();
233232

234233
this.elems.each('destroy');

0 commit comments

Comments
 (0)