Skip to content

Commit

Permalink
Removed inline javascript that tried to block inline validation.
Browse files Browse the repository at this point in the history
It had no effect anymore on Plone 5, as no inline validation is done
here anyway.

And it interferes with themes that load jQuery near the bottom instead
of in the head.
  • Loading branch information
mauritsvanrees committed Sep 11, 2015
1 parent 5ed1635 commit 944a6ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
6 changes: 5 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ Change History
1.8.0b5 (unreleased)
--------------------

- Nothing changed yet.
- Removed inline javascript that tried to block inline validation. It
had no effect anymore on Plone 5, as no inline validation is done
here anyway. And it interferes with themes that load jQuery near
the bottom instead of in the head.
[maurits]


1.8.0b4 (2015-09-09)
Expand Down
7 changes: 0 additions & 7 deletions Products/PloneFormGen/skins/PloneFormGen/fg_base_view_p3.cpt
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,6 @@
</metal:field>
</tal:if>

<script>
// block inline validation
jQuery(function ($) {
$("#pfg-fieldwrapper .field").removeAttr('data-uid');
});
</script>

</tal:def_macro>
</metal:block>
</metal:content-core>
Expand Down

0 comments on commit 944a6ff

Please sign in to comment.