GetSimple Support Forum

Full Version: filebrowser.php giving error with submitLink
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When we try to link an image we get a Js error
Error: this.$ is undefined on line 11 in ckeditor.js

this is the function:
Code:
function submitLink($funcNum, $url) {
                    if(window.opener){
                window.opener.CKEDITOR.tools.callFunction($funcNum, $url);
            }
                window.close();
    }
This is the link to the code:
Code:
<a class="primarylink" onclick="submitLink(1,'http://website.com/data/uploads/employee-portraits/image-name.jpg')" href="javascript:void(0)" title="Select file: image-name.jpg">image-name.jpg</a>

Ver. 3.1.2
Bump...

Anybody have a suggestion here? I really need to be resolved.
Thanks!
is this the only js error, sound slike something is wrong or asset arent loading , never seen this problem before, try another browser.
(2013-04-13, 02:22:44)shawn_a Wrote: [ -> ]is this the only js error, sound slike something is wrong or asset arent loading , never seen this problem before, try another browser.

Thanks for the reply..

I did, tried them all, on different platforms as well.

I tried variations of $(document).ready etc and no change as well.

I replaced the CK code in case something was edited etc, no change.
Is this code you wrote? I am confused whats failing.