johnitvn / yii2-ajaxcrud

Gii CRUD template for Single Page Ajax Administration for yii2
100 stars 114 forks source link

Parameterize forceReload #36

Closed drsdre closed 8 years ago

drsdre commented 8 years ago

To make the ModalRemote more generic usable and allow more flexibility in pjax reloading, I've changed the forceReload from boolean to specify the ID of the Pjax container. The generator has been changed to handle this change too.

Unfortunately this will break any previous generated code and maybe needs a fallback in ModalRemote.js to handle a 'true' value the old way. I'll leave that decision up to you.