Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • toonetcreation Friend
    #1078451

    Hello,

    I’m using JA Medicare template and JA Masthead module for pages titles. When I edit JA Masthead module to add pages titles, sometimes, after saving modifications when I come back to my main website front-end I get this error message (see attached file).

    Then I come back to JA Masthead module back-end and If I save again, the error message has disappeared on website front-end.

    Do you know why?

    Thanks


    1. error
    toonetcreation Friend
    #1078453

    other info, when I save for the first time and when I get the error message on website front-end, If I come back to JA Masthead module back-end, the last lines added have not been saved for the background image.

    See attached file.

    Then if I save again, modifications are saved.


    1. error2
    Pankaj Sharma Moderator
    #1078535

    Hi
    I got the same report but I am not able to replicate it.
    Can you share the exact steps to replicate it or post a temp super user details with page details on which you are facing this issue
    So i can check and help you to fix this issue.

    Regards

    toonetcreation Friend
    #1078588

    Ok no problem.
    Here are the steps, check this link to download the video.

    https://wetransfer.com/downloads/a9d398c712ccf09c4aa6d8fa4df13c0220171204081020/8c9f69fc2dc382986970e022ab73a52c20171204081020/a60617

    If you need admin access tell me.

    Pankaj Sharma Moderator
    #1078620
    This reply has been marked as private.
    toonetcreation Friend
    #1078628

    Ok I have updated Site access information area on my first post.

    Pankaj Sharma Moderator
    #1078968

    Hi
    Thanks, I am checking it with the development team, I will give you an update on this soon.

    Regards

    Mo0nlight Moderator
    #1079038

    Hi.

    It seems that the bug only occurs on your site specific. Please post your ftp account in private so I could check for you.

    toonetcreation Friend
    #1079146

    ok no problem.
    do you still need admin access?

    Mo0nlight Moderator
    #1079166

    Hi.

    You could try this.

    Edit the file : modules/mod_jamasthead/asset/elements/jaitems/jalist.js

    Change the code:

        JAList.prototype.clone_row = function (btn) {
            var $btn = $(btn),
                $row = $btn.parents('tr').first(),
                idx = this.$element.data('index');
            this.$element.data('index', ++idx);
            jaTools.fixCloneObject($row.jaclone(idx), true);
            jQuery('.field-media-wrapper').fieldMedia();
            jQuery(".hasTooltip").tooltip({"html": true,"container": "body"});
        };

    To

        JAList.prototype.clone_row = function (btn) {
            var $btn = $(btn),
                $row = $btn.parents('tr').first(),
                idx = this.$element.data('index');
            this.$element.data('index', ++idx);
            jaTools.fixCloneObject($row.jaclone(idx).removeClass('first')
                            .removeAttr('class').addClass('index-'+idx) // add this to fix media field joomla 3.7
                            .insertAfter ($row), true);
            $newitem = $('.jalist tbody tr.index-'+idx);
            // fix media field joomla 3.7
            $newitem.find('.field-media-wrapper').each(function(){
                $media = $(this).clone(false, false);
                $td = $(this).parent();
                $(this).remove();
                $td.append($media);
                $newitem.find('.field-media-wrapper').fieldMedia();
                $newitem.find(".hasTooltip").tooltip({"html": true,"container": "body"});
                // need to attach data-name again after refresh new row.
                $newitem.find('input').each(function () {
                    if ($(this).data('name') == undefined && $(this).attr('name') != undefined) {
                        $(this).data('name', $(this).attr('name').replace(/\[\d+\]$/, ''));
                    }
                });
            });
            // end fix media field joomla 3.7
        };

    And save config again.

    If the problem still occurs please post your ftp account in private mode

Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 9 replies, has 3 voices, and was last updated by  Mo0nlight 6 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum