Hi,
LarsGit223 opened a new pull request at
https://github.com/splitbrain/dokuwiki/pull/1966:
So the server can always redirect to the correct section even if headings have
the same name. Fixes #1364.
The workflow of the change is as follows:
- on rendering, get header id and put it as hidden field ```hid``` into the
section edit button(s)
- the user clicks an section edit button, the ```hid``` field is transmitted to
the server
- the server again sends the hidden field ```hid``` back to the client on
rendering the editor form
- the field is transmitted back to the server when the user clicks on
```Save``` or ```Cancel```
- the server receives the field and can redirect to the correct section
Remarks:
Even if the title of two headings might be the same, their header id (```<h
id="...">```) will always be different.
Please help us to review this pull request, so new contributors get feedback in
a timely manner.
0b2a4880-3237-11e7-96c8-b5c40f27f471
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist