voodish logo
tweet rss book of faces Linked In

Magento Category Orange box error


Quick things to try

Reupload: app/code/core/Mage/Admin and app/code/core/Mage/Adminhtml from a fresh working Magento version (Default).

IF still not working.
Locate: app/design/adminhtml/default/template/catalog/category/edit/form.phtml

and REM out :

var tabIndex = 1000;
function categoryProductRowInit(grid, row){
//var checkbox = $(row).getElementsByClassName('checkbox')[0];
var position = $(row).getElementsByClassName('input-text')[0];//
if(checkbox && position){
checkbox.positionElement = position;
position.checkboxElement = checkbox;
position.disabled = !checkbox.checked;
position.tabIndex = tabIndex++;


<?php echo $_gridJsObject ?>.initRowCallback = categoryProductRowInit;

<?php echo $_gridJsObject ?>.rows.each(function(row){categoryProductRowInit(<?php echo $_gridJsObject ?>, row)});

Related Articles

Comments RSS Feed

No Comments Yet

You can be the first to comment!

Leave a comment