add missing data attribute for existing query group

pull/6272/head
Jens Ulferts 7 years ago
parent 7051fe771e
commit aaf2928f73
No known key found for this signature in database
GPG Key ID: 3CAA4B1182CF5308
  1. 3
      app/views/types/form/_query_group.html.erb
  2. 2
      frontend/app/components/types/form-configuration/types-form-configuration.controller.ts

@ -1,6 +1,7 @@
<div class="type-form-conf-group type-form-query-group"
data-original-key="<%= group.key.to_s %>"
data-key="<%= group.key %>">
data-key="<%= group.key %>"
data-key-is-symbol="<%= group.key.is_a? Symbol %>">
<div class="group-head">
<span class="group-handle icon-toggle"></span>
<group-edit-in-place

@ -162,7 +162,7 @@ function typesFormConfigurationCtrl(
let currentQuery = originator.data('queryProps');
return currentQuery || persistentQuery || {};
}
};
$scope.updateHiddenFields = ():boolean => {
let groups:HTMLElement[] = angular.element('.type-form-conf-group').not('#type-form-conf-group-template').toArray();

Loading…
Cancel
Save