Fixed Lists issue when reindexing, causing Radio fields to potentially lose their checked status (related: 1d55ffc, fixes #1154)

This commit is contained in:
Djamil Legato
2017-07-12 12:22:13 -07:00
parent ff9374d8ec
commit c114f89b95
3 changed files with 2 additions and 5 deletions

View File

@@ -4,6 +4,7 @@
1. [](#bugfix) 1. [](#bugfix)
* Fixed fetch issue throwing error when request not completed and while unloading the page [#1301](https://github.com/getgrav/grav-plugin-admin/issues/1301) * Fixed fetch issue throwing error when request not completed and while unloading the page [#1301](https://github.com/getgrav/grav-plugin-admin/issues/1301)
* Fixed ordering when > 100 pages [grav#1564](https://github.com/getgrav/grav/pull/1564) * Fixed ordering when > 100 pages [grav#1564](https://github.com/getgrav/grav/pull/1564)
* Fixed Lists issue when reindexing, causing Radio fields to potentially lose their `checked` status ([#1154](https://github.com/getgrav/grav-plugin-admin/issues/1154) | related: [1d55ffc](https://github.com/getgrav/grav-plugin-admin/commit/1d55ffc616125047f245efe9f2180ef2c16b4949))
# v1.5.0-rc.4 # v1.5.0-rc.4
## 07/05/2017 ## 07/05/2017

View File

@@ -212,10 +212,6 @@ export default class CollectionsField {
}); });
}); });
}); });
items.find('input[type="radio"][checked]').each((index, radio) => {
radio.checked = true;
});
} }
_onAddedNodes(event, target/* , record, instance */) { _onAddedNodes(event, target/* , record, instance */) {

File diff suppressed because one or more lines are too long