Skip to content

Page Front-end Editor Has Bugs In Master Clean Install #609

@denisurn

Description

@denisurn

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

  1. Do a clean install of the latest PW master;
  2. Enable/install Page Front End Editor module;
  3. Add tag to the home template <edit page="<?=$page->id?>" fields="title,body">test modal</edit>
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions