Jump to content
Sign in to follow this  
Uhtdred

Report form not working.

Recommended Posts

Looks like something is not working on report form on website. Something is wrong in the javascript file.

When trying to submit a ticket, there's an error in the console (in the debug part)

Uncaught TypeError: Cannot read properties of null (reading '1').

javascript file:

$(document).ready(function() {
   $.urlParam = function(name){
      var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);
      return results[1] || 0;
    }

return results[1] || 0; throw the error.


PD: It's very important to fix this bug since submit button is not working.

Edited by Uhtdred

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...