Guest User

Untitled

a guest
Feb 20th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. ---
  2. public/javascripts/jquery/jquery-1.2.6.js | 6 +++++-
  3. 1 files changed, 5 insertions(+), 1 deletions(-)
  4.  
  5. diff --git a/public/javascripts/jquery/jquery-1.2.6.js b/public/javascripts/jquery/jquery-1.2.6.js
  6. index 88e661e..5db150d 100644
  7. --- a/public/javascripts/jquery/jquery-1.2.6.js
  8. +++ b/public/javascripts/jquery/jquery-1.2.6.js
  9. @@ -2566,6 +2566,9 @@ jQuery.extend({
  10. data: null,
  11. username: null,
  12. password: null,
  13. + xhr: function() {
  14. + return window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
  15. + },
  16. accepts: {
  17. xml: "application/xml, text/xml",
  18. html: "text/html",
  19. @@ -2689,7 +2692,8 @@ jQuery.extend({
  20.  
  21. // Create the request object; Microsoft failed to properly
  22. // implement the XMLHttpRequest in IE7, so we use the ActiveXObject when it is available
  23. - var xhr = window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
  24. + //var xhr = window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
  25. + var xhr = s.xhr();
  26.  
  27. // Open the socket
  28. // Passing null username, generates a login popup on Opera (#2865)
  29. --
  30. 1.5.3.7
Add Comment
Please, Sign In to add comment