rafalp/PirxFramework — Issue #20: Open form in ajax popup
Author: rafalp
Created: 2011-12-30 19:45:54+00:00
State: open
Labels: Pain in ass

Small forms should be possible to be opened in JS popup (propably using Bootstrap Modal). Everything necessary to open those pages in JS should be "allowAjax" flag set to true in router. If so, Admin Controller should on its own see if $_GET['ajax'] == 1 and then send response as JSON instead of full HTML.