Magento News
Magento javascript object
in Mage_Adminhtml_Block_Customer_Edit_Tab_Cart, in the _prepareColumns() function they add a column for action, there you can see
'onclick' => 'return ' . $this->getJsObjectName() . 'cartControl.removeItem($item_id);'
so i try to do the same with my custom module,
'onclick' => 'return ' . $this->getJsObjectName() . 'comentarioControl.removeItem($item_id);'
but all i get is noticia_comentario_grid10JsObjectcomentarioControl is not defined error, so, where can i define that, i don’t understand
thanks
Possibly Related Posts:
- Magento – ‘proceed to checkout’ button to go to login page if not logged in
- magento geolocation redirect
- Magento Post Image File Request
- How to get items from last order on login and clearing cart on logout?
- Fatal error Undefined class constant ‘METHOD_GUEST’ [Magento]
RSS Feed