-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
Short description of the issue
In latest master clean install Page Frontend Editor module throws quite a few bugs and errors.
Expected behavior
- logged in user opens modal to edit some fields on the front end
- user saves his changes and pressing save button closes the modal
- changes are seen on the page
Actual behavior
- user opens the modal;
- javascript console throws few errors (which could be the culprit);
- ajax preloader does not disappear;
- pressing save button does not close the modal (data-autoclose does not work);
- field changes are saved, but are not visible until manual page refresh;
Actual behavior goes here.
Screenshots/Links that demonstrate the issue
Firefox console
[Persistent ajax preloader] (https://screenshots.firefox.com/xXPjZgsD7DX0Z4rC/clean.local)
Steps to reproduce the issue
- Do a clean install of the latest PW master;
- Enable/install Page Front End Editor module;
- Add tag to the home template
<edit page="<?=$page->id?>" fields="title,body">test modal</edit>
- Try to open the modal and save fields. Check the browser console for Jquery errors.
Setup/Environment
XAMPP, MAMP, tested in latest Firefox and Safari.
- ProcessWire version: 3.0.98
- Jquery Core module version: 1.8.3