var formData = {};
if (template.length) {
- var items = elBySel('input, select, textarea', UiConfirmation.getContentElement());
+ var items = elBySelAll('input, select, textarea', UiConfirmation.getContentElement());
for (var i = 0, length = items.length; i < length; i++) {
var item = items[i];
var name = elAttr(item, 'name');
*/
_clearContent: function() {
if (_activeId && _popoverContent.childElementCount && !_popover.classList.contains('active')) {
- var activeElData = _cache.get(_elements.get(_activeId).elData(element, 'cache-id'));
+ var activeElData = elData(_cache.get(_elements.get(_activeId).element, 'cache-id'));
while (_popoverContent.childNodes.length) {
activeElData.content.appendChild(_popoverContent.childNodes[0]);
}
var activeItem = null;
if (forceSelection === true || values.size) {
for (var i = 0, length = dropdownMenu.childElementCount; i < length; i++) {
- if (~~dropdownMenu.elData(children[i], 'language-id') === LANGUAGE_ID) {
+ if (~~elData(dropdownMenu.children[i], 'language-id') === LANGUAGE_ID) {
activeItem = dropdownMenu.children[i];
break;
}