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:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user