You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to see this module work without requiring javascript. Although the percentage of non-js users is probably quite small, there are various reasons it might be disabled, or broken, and I just like to have it as a safe guard - particularly on the front-end. More on js degredation
Here's what I think would need to be done:
Handle redirecting back from form on success, instead of reloading. Getting the link correct might not be as simple as $form->getController()->Link(), so perhaps supply a setBackLink function.
Possibly supply a 'back' button to get back to the main form.
Get the main form back to its previous state. Data may need to be stored in session upon add/edit.
Create alternative gridfield components to the ones requiring javascript. (e.g. delete action)
Template rendering I think should be flexible. Perhaps by default just use the front end iframe template, but perhaps it would be nice if the main form's controller template was used to keep style consistent. I played with this a little, and saw that it might work.
The text was updated successfully, but these errors were encountered:
It would be great to see this module work without requiring javascript. Although the percentage of non-js users is probably quite small, there are various reasons it might be disabled, or broken, and I just like to have it as a safe guard - particularly on the front-end. More on js degredation
Here's what I think would need to be done:
setBackLink
function.The text was updated successfully, but these errors were encountered: