Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
filebrowser.php giving error with submitLink
#1
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
Reply
#2
Bump...

Anybody have a suggestion here? I really need to be resolved.
Thanks!
Reply
#3
is this the only js error, sound slike something is wrong or asset arent loading , never seen this problem before, try another browser.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#4
(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.
Reply
#5
Is this code you wrote? I am confused whats failing.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)