Skip to content

Commit

Permalink
Merge 9a31a3f into d937be9
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuess committed Mar 3, 2020
2 parents d937be9 + 9a31a3f commit cceadbc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/collective/z3cform/datagridfield/static/init_field.js
Expand Up @@ -3,6 +3,9 @@ require([
'++resource++collective.z3cform.datagridfield/datagridfield',
], function ($) {
$(document).ready(function() {
if ($("body").attr("class").indexOf("datagridfield-initialized") === -1) {
$("body").addClass("datagridfield-initialized");
window.dataGridField2Functions.init();
};
});
})

0 comments on commit cceadbc

Please sign in to comment.