mirror of
				https://github.com/ether/etherpad-lite.git
				synced 2025-11-04 02:01:30 +01:00 
			
		
		
		
	I hate how hacky this change is.
This commit is contained in:
		
							parent
							
								
									b27287ce37
								
							
						
					
					
						commit
						dafa44e6b4
					
				@ -196,14 +196,6 @@ exports.doImport = function(req, res, padId)
 | 
				
			|||||||
    ERR(err);
 | 
					    ERR(err);
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
    //close the connection
 | 
					    //close the connection
 | 
				
			||||||
    res.send("
 | 
					    res.send("<script> if ( (!$.browser.msie) && (!($.browser.mozilla && $.browser.version.indexOf("1.8.") == 0)) ){document.domain = document.domain;}var impexp = window.top.require('/pad_impexp').padimpexp.handleFrameCall('" + status + "');</script>", 200);
 | 
				
			||||||
      <script>
 | 
					 | 
				
			||||||
      if ( (!$.browser.msie) && (!($.browser.mozilla && $.browser.version.indexOf("1.8.") == 0)))
 | 
					 | 
				
			||||||
      {
 | 
					 | 
				
			||||||
      	document.domain = document.domain;
 | 
					 | 
				
			||||||
      } 
 | 
					 | 
				
			||||||
      var impexp = window.top.require('/pad_impexp').padimpexp.handleFrameCall('" + status + "');
 | 
					 | 
				
			||||||
      </script>
 | 
					 | 
				
			||||||
     ", 200);
 | 
					 | 
				
			||||||
  });
 | 
					  });
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user