Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextEditor doesn't express dependencies on jQuery scripts #2345

Closed
VsevolodGolovanov opened this issue May 7, 2017 · 1 comment
Closed
Assignees
Labels
🐞 defect Bug...Something isn't working
Milestone

Comments

@VsevolodGolovanov
Copy link
Contributor

VsevolodGolovanov commented May 7, 2017

PrimeFaces 6.1.

<h:head>
</h:head>
<h:body>
	<p:textEditor />
</h:body>

Opening this page results in js errors:

core.js?ln=primefaces&v=6.1:2 Uncaught ReferenceError: $ is not defined
    at Object.resolveUserAgent (core.js?ln=primefaces&v=6.1:2)
    at Object.init (core.js?ln=primefaces&v=6.1:2)
    at core.js?ln=primefaces&v=6.1:2
resolveUserAgent @ core.js?ln=primefaces&v=6.1:2
init @ core.js?ln=primefaces&v=6.1:2
(anonymous) @ core.js?ln=primefaces&v=6.1:2
texteditor.js?ln=primefaces&v=6.1:19 Uncaught TypeError: Cannot read property 'DeferredWidget' of undefined
    at texteditor.js?ln=primefaces&v=6.1:19
(anonymous) @ texteditor.js?ln=primefaces&v=6.1:19
(index):19 Uncaught ReferenceError: $ is not defined
    at (index):19

Because jquery.js isn't loaded.

@melloware
Copy link
Member

@VsevolodGolovanov PR submitted if you want to review it.

tandraschko added a commit that referenced this issue May 8, 2017
Fix #2345 TextEditor add jquery.js as required script.
@tandraschko tandraschko self-assigned this May 8, 2017
@tandraschko tandraschko added this to the 6.2 milestone May 8, 2017
@tandraschko tandraschko added the 🐞 defect Bug...Something isn't working label May 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 defect Bug...Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants