Changeset 1884

Show
Ignore:
Timestamp:
08/20/08 18:49:06 (3 months ago)
Author:
alo
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cherokee/trunk/ChangeLog

    r1882 r1884  
    112008-08-20  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     2 
     3        * admin/static/js/common.js: Fixes a weird problem with Firedfox. 
     4        If window.location.reload() is called it pops a dialog asking 
     5        whether it should resend the last post. Using the twisted: 
     6        window.location = window.location assignament it does the same 
     7        thing without showing the window question. 
    28 
    39        * cherokee/Makefile.am (libcherokeeinclude_HEADERS): Installs a 
  • cherokee/trunk/admin/static/js/common.js

    r1797 r1884  
    9090           jQuery.post (url, post, 
    9191              function (data, textStatus) { 
    92                   window.location.reload()
     92                          window.location = window.location
    9393              } 
    9494           ); 
     
    125125           jQuery.post (url, post,  
    126126                 function (data, textStatus) { 
    127                 window.location.reload()
     127                          window.location = window.location
    128128              } 
    129129        );