Development

#3177 (popup in IE)

You must first sign up to be able to contribute.

Ticket #3177 (closed documentation: fixed)

Opened 9 months ago

Last modified 9 months ago

popup in IE

Reported by: emagin Assigned to: FabianLange
Priority: minor Milestone:
Component: helpers Version: 1.0.10
Keywords: popup Cc:
Qualification: Unreviewed

Description

maybe this is a documentation issue, maybe a defect.

I tested the "popup" option of the link_to helper in IE. It works as long as the Window Title parameter does not contain a space. In the book, the example is

<?php echo link_to('add to cart', 'shoppingCart/add?id=100', array(
  'popup' => array('Window title', 'width=310,height=400,left=320,top=0')
)) ?>
 => <a onclick="window.open(this.href,'Window title','width=310,height=400,left=320,top=0');return false;"
       href="/fo_dev.php/shoppingCart/add/id/100.html">add to cart</a>

From my testing, this does not work in IE.

Changing 'Window title' by 'Windowtitle' does.

Change History

03/22/08 00:29:31 changed by FabianLange

  • owner changed from fabien to FabianLange.
  • status changed from new to assigned.

you are correct on this. it is actually not the window title which is set but the internal name of the window. the normal javascript name restrictions apply. I will scan where I need to correct this.

03/22/08 00:34:53 changed by FabianLange

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [8042]) fixes #3177