woothemes/woocommerce — Issue #613: Wootique Issues with sendtoeditor :maximum call stack size exceeded
Author: helgatheviking
Created: 2012-02-10 15:27:07+00:00
State: open

When I am editing a page/post/product and try to insert an image i will sometimes get the following error:

Uncaught RangeError: Maximum call stack size exceeded

in

/wootique/functions/js/woo-medialibrary-uploader.js

and the console log traces it down to the woothemesMLU.mediaUpload.window.send_to_editor. i'm having a hard time determining what is causing the error as i have used a similar code myself plenty of times w/o seeing this error.

``` window.original_send_to_editor = window.send_to_editor;
window.send_to_editor = function(html) { //truncated }

window.original_send_to_editor(html);
```

i'm also seeing it live almost all the time, but locally only some of the time, even though i have disabled plugins locally.