Changeset 1377

Show
Ignore:
Timestamp:
05/20/08 01:49:36 (5 months ago)
Author:
cederberg@gmail.com
Message:

Fixed LoggingPane? name to avoid problems in IE with % in name (see #277).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • mochikit/trunk/MochiKit/LoggingPane.js

    r1319 r1377  
    5555    if (!inline) { 
    5656        // name the popup with the base URL for uniqueness 
    57         var url = win.location.href.split("?")[0].replace(/[#:\/.><&-]/g, "_"); 
     57        var url = win.location.href.split("?")[0].replace(/[#:\/.><&-%]/g, "_"); 
    5858        var name = uid + "_" + url; 
    5959        var nwin = win.open("", name, "dependent,resizable,height=200"); 
  • mochikit/trunk/packed/MochiKit/MochiKit.js

    r1376 r1377  
    41654165} 
    41664166if(!_44e){ 
    4167 var url=win.location.href.split("?")[0].replace(/[#:\/.><&-]/g,"_"); 
     4167var url=win.location.href.split("?")[0].replace(/[#:\/.><&-%]/g,"_"); 
    41684168var name=uid+"_"+url; 
    41694169var nwin=win.open("",name,"dependent,resizable,height=200");