Details
-
Bug
-
Resolution: Fixed
-
High
-
5.3, 2014.05, 5.3.1, 5.4-dev
-
None
-
Castor Core S2
Description
eZIE does not work on the frontend: when an image attribute "Edit" button is clicked, nothing happens.
In addition, the following error can be observed in the debug console (tested under Firefox 30)
TypeError: $(...).ezie is not a function
$(".ezieEditButton").ezie();
Steps to reproduce:
- On the frontend, edit an image object
- Click the image's "Edit" button
Further info:
The following shows the relevant section of included scripts (dev mode)
<script type="text/javascript" src="/js/f110395_yui-min_1.js"></script> <script type="text/javascript" src="/js/f110395_jquery-1.10.2.min_2.js"></script> <script type="text/javascript" src="/js/f110395_jquery-ui-1.10.3.custom.min_3.js"></script> ... <script type="text/javascript" src="/extension/ezjscore/design/standard/javascript/jquery-1.10.2.min.js"></script> <script type="text/javascript" src="/extension/ezjscore/design/standard/javascript/jquery-1.10.2.min.js"></script> <script type="text/javascript" src="/extension/ezjscore/design/standard/javascript/jquery-migrate-1.1.1.min.js"></script> ... <script type="text/javascript" src="/extension/ezie/design/standard/javascript/jquery.ezie.js"></script> ... <script type="text/javascript" src="/extension/ezie/design/standard/javascript/ezie.js"></script> <script type="text/javascript" src="/extension/ezjscore/design/standard/javascript/jquery-1.10.2.min.js"></script>
The problem comes from the fact that one last jquery is included at the bottom, after the jquery.ezie.js plugin that extends `$` with `ezie()`.
This last jquery inclusion appears to reset the jquery prototype.
Attachments
Issue Links
- is blocked by
-
EZP-23074 Missing form token meta tags when browsing legacy modules
- Closed