[Webkit-unassigned] [Bug 62310] www.uniteful.com/39 closes itself when opened from a link on Twitter

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 8 14:28:44 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=62310





--- Comment #6 from Doug Luce <doug at webkit.con.com>  2011-06-08 14:28:44 PST ---
Fine catch from dbates on the misplaced popup-closing code in the ready function.  I've taken that out of the www.uniteful.com code, but here's the original offending bit for reference:

<script src="/javascripts/jquery-1.4.2.min.js" type="text/javascript"></script> 

(function($){
    $(document).ready(function(){

    // ...

    if(window.opener) {
        window.opener.location.reload(true);
        window.close()
    }

  });
})(jQuery);

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list