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]
This commit is contained in:
Loic d'Anterroches
2009-02-01 09:54:09 +01:00
parent a1ecb4c0b0
commit a116c27c03
3 changed files with 4 additions and 4 deletions

View File

@@ -241,7 +241,7 @@ class IDF_Views_Download
$auto .= sprintf('{ name: "%s", to: "%s" }, ',
Pluf_esc($d), Pluf_esc($v));
}
return substr($auto, 0, -1);
return substr($auto, 0, -2);
}
/**