Home 게시판 커뮤니티 Q&A 4.0 버전 업데이트 후 미디어추가 버튼이 동작안합니다.

1개 답변, 2 voices Last updated by Avatar of 082net082net 9 years, 6 months 전
  • Avatar of 김영학김영학
    Participant
    @shoooong
    #26645

    에러 내용이 아래와 같은데요.
    어떻게 하면 될까요? 버전 다운이 답인가요?

    Uncaught TypeError: Cannot read property ‘hasClass’ of undefined

    {

    !function(a){function b(){var b,d=a(“#wp-auth-check”),f=a(“#wp-auth-check-form”),g=e.find(“.wp-auth-fallback-expired”),h=!1;f.length&&(a(window).on(“beforeunload.wp-auth-check”,function(a){a.originalEvent.returnValue=window.authcheckL10n.beforeunload}),b=a(‘<iframe id=”wp-auth-check-frame” frameborder=”0″>’).attr(“title”,g.text()),b.load(function(){var b,i;h=!0;try{i=a(this).contents().find(“body”),b=i.height()}catch(j){return e.addClass(“fallback”),d.css(“max-height”,””),f.remove(),void g.focus()}b?i&&i.hasClass(“interim-login-success”)?c():d.css(“max-height”,b+40+”px”):i&&i.length||(e.addClass(“fallback”),d.css(“max-height”,””),f.remove(),g.focus())}).attr(“src”,f.data(“src”)),a(“#wp-auth-check-form”).append(b)),e.removeClass(“hidden”),b?(b.focus(),setTimeout(function(){h||(e.addClass(“fallback”),f.remove(),g.focus())},1e4)):g.focus()}function c(){a(window).off(“beforeunload.wp-auth-check”),”undefined”==typeof adminpage||”post-php”!==adminpage&&”post-new-php”!==adminpage||”undefined”==typeof wp||!wp.heartbeat||wp.heartbeat.connectNow(),e.fadeOut(200,function(){e.addClass(“hidden”).css(“display”,””),a(“#wp-auth-check-frame”).remove()})}function d(){var a=parseInt(window.authcheckL10n.interval,10)||180;f=(new Date).getTime()+1e3*a}var e,f;a(document).on(“heartbeat-tick.wp-auth-check”,function(a,f){“wp-auth-check”in f&&(d(),!f[“wp-auth-check”]&&e.hasClass(“hidden”)?b():f[“wp-auth-check”]&&!e

    }

    Avatar of 082net082net
    Keymaster
    @082net
    #26649

     

    위 질문에도 같은 답을 드렸는데요, 우선은 브라우저의 캐쉬를 비워보시거나 다른 브라우저로 테스트 해 보세요.

    가끔 플러그인이나 테마에서 jQuery를 대체시키는 경우가 있으니, 플러그인을 모두 비활성화 시키고 테마를 기본으로 바꾼 뒤에도 같은 문제가 발생하는지 확인해 보세요.

    Avatar of 082net
    Facebook 사용자 모임 그룹 도 함께 운영되고 있으며, 격 주로 미트업과 스터디를 진행하고 있으니 관심 있으신 분들의 많은 참여 바랍니다 🙂
2 글 보임 - 1에서 2 까지 (총 2 중에서)
  • 답변은 로그인 후 가능합니다.