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

Uncaught TypeError: document.postform.subject.focus is not a function #6127

Closed
sshcli opened this Issue Oct 10, 2018 · 5 comments

Comments

Projects
None yet
2 participants
@sshcli
Member

sshcli commented Oct 10, 2018

Steps to reproduce the behavior:

  1. Go to example.com/forum/newtopic and try to create a new topic

Expected behavior
No error in console

Actual result
You get this error in the console:
Uncaught TypeError: document.postform.subject.focus is not a function

error2

Additional context
Line 472: src/components/com_kunena/template/crypsis/layouts/topic/edit/default.php
Line 505: src/components/com_kunena/template/crypsisb3/layouts/topic/edit/default.php

System information (please complete the following information)
Joomla version: Joomla! 3.9.0-rc-dev
Kunena version: 5.1.4
Php version: 7.2.10
Database version: MySQL 5.6.41

@810

This comment has been minimized.

Member

810 commented Oct 10, 2018

Did you enable javascript?

You need javascript

@sshcli

This comment has been minimized.

Member

sshcli commented Oct 10, 2018

JavaScript is enabled.

@810

This comment has been minimized.

Member

810 commented Oct 10, 2018

I can't reproduce the issue

@sshcli

This comment has been minimized.

Member

sshcli commented Oct 10, 2018

I can't reproduce it my test environment.
I only see the error in my production environment.
Please allow me some time to bring more details on how to reproduce this.
Thanks in advance for your cooperation

@sshcli

This comment has been minimized.

Member

sshcli commented Oct 11, 2018

The option causing the error is Let users edit the subject

To reproduce the error, go to:
Configuration->Frontend->Let users edit the subject = No

810 added a commit that referenced this issue Oct 11, 2018

@810 810 added bug 5.1 labels Oct 11, 2018

@810 810 added this to the 5.1.4 milestone Oct 11, 2018

@810 810 closed this Oct 11, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment