From b387ffc62716cb0d1b6c50b4fbc5b405018d55bc Mon Sep 17 00:00:00 2001
From: Matthew Kocher & Nate Clark <pair+mkocher+nate@pivotallabs.com>
Date: Tue, 1 May 2012 17:55:56 -0700
Subject: [PATCH] ckeditor working with patched array prototype
---
.../_source/plugins/filebrowser/plugin.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/public/ckeditor-3.6.3/_source/plugins/filebrowser/plugin.js b/public/ckeditor-3.6.3/_source/plugins/filebrowser/plugin.js
index d354327..817761f 100755
a
|
b
|
For licensing, see LICENSE.html or http://ckeditor.com/license |
242 | 242 | { |
243 | 243 | var element, fileInput; |
244 | 244 | |
245 | | for ( var i in elements ) |
| 245 | for ( var i = 0; i < elements.length; i++ ) |
246 | 246 | { |
247 | 247 | element = elements[ i ]; |
248 | 248 | |
… |
… |
For licensing, see LICENSE.html or http://ckeditor.com/license |
399 | 399 | var definition = evt.data.definition, |
400 | 400 | element; |
401 | 401 | // Associate filebrowser to elements with 'filebrowser' attribute. |
402 | | for ( var i in definition.contents ) |
| 402 | for ( var i = 0; i < definition.contents.length; i++ ) |
403 | 403 | { |
404 | 404 | if ( ( element = definition.contents[ i ] ) ) |
405 | 405 | { |