Changeset 5157


Ignore:
Timestamp:
Oct 23, 2009, 11:28:13 AM (12 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1415: Lazy directory loading doesn't work with Internet Explorer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.14-stable/www/include/scripts/ajax.js

    r4967 r5157  
    6666  this.parseResponse = function(responseText)
    6767  {
    68     var lines = responseText.split(/\n/);
     68    // WARNING! Do not use split(/\n/) since IE doesn't include
     69    // empty elements (=empty lines) in the array. We need the empty
     70    // lines to detect end-of-record. See ticket #1415.
     71    var lines = responseText.split('\n');
    6972    var elements = new Array();
    7073    var status = null;
Note: See TracChangeset for help on using the changeset viewer.