Indefero

Indefero Commit Details


Date:2009-02-01 02:54:09 (15 years 10 months ago)
Author:Loic d'Anterroches
Branch:dev, develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:a116c27c036ba94fd1616035f29090d5cad62450
Parents: a1ecb4c0b070c23362a1646544ce9a08008e540b
Message:Fixed issue 124, JS dropdown lists not working in Issues page under IE 7 & 8.

IE does not like trailing comma in an array.
Bad: [1, 2, 3,] Good: [1, 2, 3]
Changes:

File differences

src/IDF/Views/Download.php
241241
242242
243243
244
244
245245
246246
247247
$auto .= sprintf('{ name: "%s", to: "%s" }, ',
Pluf_esc($d), Pluf_esc($v));
}
return substr($auto, 0, -1);
return substr($auto, 0, -2);
}
/**
src/IDF/Views/Issue.php
549549
550550
551551
552
552
553553
554554
555555
......
565565
566566
567567
568
568
569569
570570
571571
Pluf_esc($d),
Pluf_esc($v));
}
$auto[$key] = substr($auto[$key], 0, -1);
$auto[$key] = substr($auto[$key], 0, -2);
}
// Get the members/owners
$m = $project->getMembershipData();
Pluf_esc($owner),
Pluf_esc($owner->login));
}
$auto['auto_owner'] = substr($auto['auto_owner'], 0, -1);
$auto['auto_owner'] = substr($auto['auto_owner'], 0, -2);
unset($auto['_auto_owner']);
return $auto;
}
src/IDF/Views/Wiki.php
407407
408408
409409
410
410
411411
412412
413413
$auto .= sprintf('{ name: "%s", to: "%s" }, ',
Pluf_esc($d), Pluf_esc($v));
}
return substr($auto, 0, -1);
return substr($auto, 0, -2);
}
}

Archive Download the corresponding diff file

Page rendered in 0.08456s using 14 queries.