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


Messages In This Thread
filebrowser.php giving error with submitLink - by ccbangler - 2013-04-04, 20:56:29



Users browsing this thread: 1 Guest(s)