Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am trying to debug a Press this function on a site {Adult Contents}

This issue is, images on the page does not add up and does not show...

javascript code for press this button is

javascript:var d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='http://www.cherryera.com/wp-admin/post-new.php',l=d.location,e=encodeURIComponent,u=f+'?u='+e(l.href)+'&t='+e(d.title)+'&s='+e(s)+'&v=4';a=function(){if(!w.open(u,'t','toolbar=0,resizable=1,scrollbars=1,status=1,width=810,height=570'))l.href=u;};if (/Firefox/.test(navigator.userAgent)) setTimeout(a, 0); else a();void(0)

when I try to add an image , it fails to add, I have checked the permissions on upload folder, its 777,

can somebody help me??

thanks for your help..

share|improve this question
    
Do you use FireBug (shortcut: [F12]) or the developer tools in Chrome (shortcut: [ctrl] + [shift] + [i]) ? There is a console that shows you the javascript errors. I expect it is a javascript bug. –  Ralf912 Apr 23 '13 at 21:09
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.