Jump to content

invoice view window not closing


ozzie

Recommended Posts

Hi,

 

When logged in as the client, viewing an invoice, the bottom link

download | close window is not closing the window.

In fact it looks like it invoking itself:

http://www.yourdomain.com/whmcs/viewinvoice.php?id=2#

 

Cheers,

 

Ozzie

Link to comment
Share on other sites

It's javascript. Something must have been blocking it on your computer.

 

Not sure about that... I have other pages on this box that have no problem with

<form>
<input type="button" onClick="window.close()" name="x" value="Close Window">
</form>

 

Am I the only one with this problem?

 

Cheers,

 

Ozzie

__________________

...I have not lost my mind...I have got it backed up on tape somewhere...

Link to comment
Share on other sites

It's javascript. Something must have been blocking it on your computer.

 

Matt, I'm sorry but I still think it's a bug.

 

I've replaced

<a href="#" onClick="window.close()">

by

<a href="javascript: window.close();">

and it's working OK.

 

Cheers,

 

Ozzie

__________________

Despite the high cost of living, it remains popular.

Link to comment
Share on other sites

Hmm...

 

I'm wondering if:

<a href="#" onclick="window.close();return false;">

 

Would work just as well for you? I'm not sure what exactly is causing this issue, I've never seen something like this before -- what browser & version are you using?

Link to comment
Share on other sites

I'm wondering if:

<a href="#" onclick="window.close();return false;">

 

Would work just as well for you? I'm not sure what exactly is causing this issue, I've never seen something like this before -- what browser & version are you using?

Internet Exploder V6.0.2900.2180.xpsp_sp2_qdr.050301-1519

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated