tips:double-click-to-edit
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tips:double-click-to-edit [2012-08-26 23:35] – better add to conf directory; made script downloadable ach | tips:double-click-to-edit [2016-02-08 20:22] – Added note about proper script location for Dokuwiki in 2016 210.195.71.65 | ||
---|---|---|---|
Line 3: | Line 3: | ||
The javascript snippet below adds the ability to double-click a section of an article to go straight to the edit mode for that section. | The javascript snippet below adds the ability to double-click a section of an article to go straight to the edit mode for that section. | ||
- | It is easy to add it. Just create a **script.js** file under your conf directory (i.e. ./ | + | <del>It is easy to add it. Just create a **script.js** file under your conf directory (i.e. ./ |
+ | |||
+ | Open the **script.js** under " | ||
<code javascript conf/ | <code javascript conf/ | ||
Line 26: | Line 28: | ||
</ | </ | ||
- | Remember to purge the javascript cache by calling | + | Remember to [[devel: |
http:// | http:// | ||
and clean up your browser' | and clean up your browser' | ||
- | Tested on Release 2012-01-25b " | + | Tested on Release |
The functionality of the code has been commented inline. Submit any improvements and fixes you may have. | The functionality of the code has been commented inline. Submit any improvements and fixes you may have. | ||
- | For queries, contact the author on http:// | + | For queries, contact the author on http:// |
tips/double-click-to-edit.txt · Last modified: 2023-01-26 09:38 by 212.201.117.6