GetSimple Support Forum
filebrowser.php giving error with submitLink - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: filebrowser.php giving error with submitLink (/showthread.php?tid=4591)



filebrowser.php giving error with submitLink - ccbangler - 2013-04-04

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


RE: filebrowser.php giving error with submitLink - ccbangler - 2013-04-13

Bump...

Anybody have a suggestion here? I really need to be resolved.
Thanks!


RE: filebrowser.php giving error with submitLink - shawn_a - 2013-04-13

is this the only js error, sound slike something is wrong or asset arent loading , never seen this problem before, try another browser.


RE: filebrowser.php giving error with submitLink - ccbangler - 2013-04-13

(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.


RE: filebrowser.php giving error with submitLink - shawn_a - 2013-04-13

Is this code you wrote? I am confused whats failing.