New Dynamic YouTube Gallery - Embed YouTube Playlist, Channel, Live Stream in minutes. Read More

Bug in function valForm

  • H & R Netzwerk GmbH
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 2

Bug in function valForm was created by H & R Netzwerk GmbH

There seems to be a bug in the function valForm (file: administrator/components/com_allvideoshare/views/players/tmpl/edit.php), which is executed when saving a player profile in the administrator view.

When the checkbox "playlist" is unchecked and the player size is smaller than 320*240 the form is not submitted.

The correct if-condition should be as follows imho:
if(form.playlist.checked == true && (form.width.value < 320 || form.height.value < 240)) {

This way it`s possible to save a player profile without related videos in smaller size.
The following user(s) said Thank You: Administrator
10 years 7 months ago #6078

Please Log in or Create an account to join the conversation.

Time to create page: 0.085 seconds

We accept cookies to provide you the best viewing experience. By using our services, you agree to our use of cookies