php - Mass action doesn't work for Magento backend grid serializer -


i've created grid inside tab using grid serializer using this tutorial. i've added massaction grid using this tutorial.

mass action block has appeared, when choose entities, choose massaction , click submit, following error has been thrown browser's console:

"referenceerror: {gridid}_massactionjsobject not defined" 

have ever tried add mass action grid inside tab? how solve error?

instead of removing var in abstract class set object window.

in app/design/adminhtml/default/default/template/widget/grid.phtml calls out getadditionaljavascript()

in grid file add function.

protected function getadditionaljavascript() {     return 'window.{gridid}_massactionjsobject = {gridid}_massactionjsobject;'; } 

Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -