Changeset 2525

Show
Ignore:
Timestamp:
02/04/10 15:53:19 (6 weeks ago)
Author:
JensDiemer
Message:

bugfix: Don't insert "<h2>abort</h2>" because it can IMHO not be removed if the user abort the abort in window.onbeforeunload event.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.9/pylucid_project/pylucid_plugins/page_admin/templates/page_admin/edit_inline_form.html

    r2524 r2525  
    7676     
    7777    $("#abort_button").click(function() { 
    78         $("#edit_page_form").before('<h2 class="ajax_msg">{% trans "abort" %}...</h2>'); 
     78        {% comment %} 
     79        // How can we here give a feedback and remove it on a window.onbeforeunload abort ? 
     80        // $("#edit_page_form").before('<h2 class="ajax_msg">{% trans "abort" %}...</h2>'); 
     81        {% endcomment %} 
    7982        self.location.href='{{ abort_url }}'; 
    8083    });