Forums / Cotonti / Support / My files popup

HarryRag
#7669 2009-02-11 20:35
Loa all,

Got a question about the "My Files/ File Space" Popup:
If I click the my files link below the textboxer it opens up it should, but it closes directly after clicking on 1 file it's link for thumbs, full image or direct link to the particular file.
Cause the smiley popup allows you to add more then 1 smiley when popped up, but the My files popop closes on a single on a item.


Is this as it was ment to be, or is there a setting that I can allow stay the popup open so I could add more then just 1 thumb or full image at once?

Regards,
HarryRag

[updatemode]

Just found where I needed to be:
If I remove the " window.close();" from the 3 functions in pfs.inc.php on lines 611 >> 625, then the popup remains open like it was in Sed.


<script type=\"text/javascript\">
//<![CDATA[
function help(rcode,c1,c2)
	{ window.open('plug.php?h='+rcode+'&amp;c1='+c1+'&amp;c2='+c2,'Help','toolbar=0,location=0,directories=0,menuBar=0,resizable=0,scrollbars=yes,width=480,height=512,left=512,top=16'); }
function addthumb(gfile,c1,c2)
	{ opener.document.".$c1.".".$c2.".value += $addthumb; window.close();}
function addpix(gfile,c1,c2)
	{ opener.document.".$c1.".".$c2.".value += $addpix; window.close();}
function addfile(gfile,c1,c2)
	{ opener.document.".$c1.".".$c2.".value += $addfile; window.close();}
function picture(url,sx,sy)
	{ window.open('pfs.php?m=view&amp;id='+url,'Picture','toolbar=0,location=0,directories=0,menuBar=0,resizable=1,scrollbars=yes,width='+sx+',height='+sy+',left=0,top=0'); }
//]]>
</script>
";
[center][url=<a href="">http://www.true-gamers.nl]True</a> &amp; Honest Gamers[/url][/center]

Dit bericht is bewerkt door HarryRag (2009-02-11 21:33, 16 jaren ago)