Skip to content

Instantly share code, notes, and snippets.

@tmking
Created October 24, 2009 01:37
Show Gist options
  • Save tmking/217323 to your computer and use it in GitHub Desktop.
Save tmking/217323 to your computer and use it in GitHub Desktop.

Revisions

  1. tmking created this gist Oct 24, 2009.
    19 changes: 19 additions & 0 deletions gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    <script type="text/javascript">
    <!--//
    document.observe("dom:loaded", function() {
    loadBox();
    <% if open_print_dialog? %>
    print();
    <% end %>
    <% if session[:open_login_popup] %>
    showLoginBox($('loginAllvoices'));
    $('redirectUrl').value = '<%= session[:return_url] if session[:return_url] %>';
    <% session[:open_login_popup] = nil %>

    <% end %>
    });



    //-->
    </script>