распечатать квитанцию в commerce receipt не работает internet explorer

Главные вкладки

Аватар пользователя 1xXx1 1xXx1 29 февраля 2012 в 2:08

Поставил модуль commerce receipt. При оформлении заказа в браузере internet explorer не работает кнопка распечатать квитанцию, вот код который задействован:

$path = base_path() . 'user/' . $uid . '/orders/' . $order_id . '/receipt';    
    $javascript = 'function printReceipt() { window.open("' . $path . '", "' . t('Print receipt') . '", "location=0,status=0,scrollbars=1,width=700,height=800,left=0,top=0");}';    
    //Yes, I hate it too.
    $output = '<SCRIPT type="text/javascript">' . $javascript . '</SCRIPT>';
    $output .= '<div id="receipt">
                <div class="receipt-button">
                <input type="button" value="'
. t('Print receipt') .'" onclick="printReceipt();" />
                </div>
                <div class="receipt-description">'
. t('Click on button above to see and print your receipt') . '</div>
                </div>'
;
  }
  return $output;

Подскажите в чем может быть дело. Во всех браузерах работает а в internet explorer не работает.