• Resolved benseidler

    (@benseidler)


    When a guest user tries to initiate a new ticket at https://benseidler.com/submit-ticket/ it sits there and hangs. If I click the button a few times, sometimes I can get it to go, sometimes I cant. I have tried to clear cache, tried Internet Explorer and Chrome, and had other users try it, with the same results. Please feel free to try to create a guest ticket here for yourself to troubleshoot.

    I already looked at the troubleshooting guide for this, but I cannot see how those two methods listed are causing this issue… If you think they are, please explain… Also explain why you would not want to have logged in users utilize caching…?

    Errors:
    Unable to get property ‘getContent’ of undefined or null reference

    if (typeof tinyMCE != “undefined”) {

    $(‘.wpas-form’).submit(function (event) {
    var submitBtn = $(‘[type=”submit”]’, $(this));
    var editorContent = tinyMCE.activeEditor.getContent();
    if (!replyClose.is(‘:checked’) && (editorContent === ” || editorContent === null)) {

    /* Highlight the active editor */
    $(tinyMCE.activeEditor.getBody()).css(‘background-color’, ‘#ffeeee’);

    /* Alert the user */
    alert(wpas.translations.emptyEditor);

    /* Restore the editor background color */
    $(tinyMCE.activeEditor.getBody()).css(‘background-color’, ”);

    /* Focus on editor */
    tinyMCE.activeEditor.focus();

    return false;
    } else {
    submitBtn.prop(‘disabled’, true).text(wpas.translations.onSubmit);
    }
    });

    Unable to get property ‘getContent’ of undefined or null reference

    /*
    Check if TinyMCE is empty
    http://codeblow.com/questions/method-to-check-whether-tinymce-is-active-in-wordpress/
    http://stackoverflow.com/a/8749616
    */
    if (typeof tinyMCE != “undefined”) {

    $(‘.wpas-form’).submit(function (event) {
    var submitBtn = $(‘[type=”submit”]’, $(this));
    var editorContent = tinyMCE.activeEditor.getContent();
    if (!replyClose.is(‘:checked’) && (editorContent === ” || editorContent === null)) {

    /* Highlight the active editor */
    $(tinyMCE.activeEditor.getBody()).css(‘background-color’, ‘#ffeeee’);

    /* Alert the user */
    alert(wpas.translations.emptyEditor);

    /* Restore the editor background color */
    $(tinyMCE.activeEditor.getBody()).css(‘background-color’, ”);

    /* Focus on editor */
    tinyMCE.activeEditor.focus();

    return false;
    } else {
    submitBtn.prop(‘disabled’, true).text(wpas.translations.onSubmit);
    }
    });

    } else {

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hello:

    This forum should not be used for premium plugin questions – the powers-that-be who run this site frown heavily on that. It is only for support for plugins that are listed for free in the wordpress.org repository. Can you please direct your question to our support desk on our site? Since you are asking about a premium plugin you have access to our ticketing system via your license.

    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘Guest Ticket not working. Hangs on screen. Errors below’ is closed to new replies.