aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/assets
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2014-01-28 15:47:43 -0800
committerCesar G <prototech91@gmail.com>2014-01-28 15:47:43 -0800
commitd32b758428145a8582f649423ca68a96792c9070 (patch)
treef440675422e556424a0a9a6385e028d49a842a91 /phpBB/assets
parent53ef25e837cd8cf16a5a5d1e4e39693f0af62d3c (diff)
downloadforums-d32b758428145a8582f649423ca68a96792c9070.tar
forums-d32b758428145a8582f649423ca68a96792c9070.tar.gz
forums-d32b758428145a8582f649423ca68a96792c9070.tar.bz2
forums-d32b758428145a8582f649423ca68a96792c9070.tar.xz
forums-d32b758428145a8582f649423ca68a96792c9070.zip
[ticket/12124] IE8 does not support indexOf() for arrays.
PHPBB3-12124
Diffstat (limited to 'phpBB/assets')
-rw-r--r--phpBB/assets/javascript/plupload.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/assets/javascript/plupload.js b/phpBB/assets/javascript/plupload.js
index cb86d18f20..a90757d487 100644
--- a/phpBB/assets/javascript/plupload.js
+++ b/phpBB/assets/javascript/plupload.js
@@ -97,7 +97,7 @@ phpbb.plupload.getSerializedData = function() {
* @return int Returns the index of the file if it exists.
*/
phpbb.plupload.getIndex = function(attach_id) {
- var index = phpbb.plupload.ids.indexOf(Number(attach_id));
+ var index = $.inArray(Number(attach_id), phpbb.plupload.ids);
return (index !== -1) ? index : false;
};