| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
checkfunc is mainly replaced by doku_hasTextBeenModified, which is put
in global scope to allow overriding by plugins.
|
|
|
|
|
|
|
|
| |
- if #wiki__text (the default DokuWiki editor field) exists, the
checkfunc() checks whether the field content is changed
- if #wiki__text not exists it assumes that on all change and keydown
events the content of the form #dw__editform is changed (give still
false positives.) (for example the Data plugin has none #wiki__text)
|
| |
|
|
|
|
|
|
| |
leaving
Fixes #1199
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This reverts commit ba6c070edd92ca0fc8a6ee85d51769d64a19ee7c.
This reverts commit 923510088dda99cb2790b15308593e47369d4f01.
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
lib/scripts/edit.js
lib/scripts/locktimer.js
Some whitespace (at end of line) cleanup
|
| | |
|
| | |
|
| |
| |
| |
| | |
implemented in jQuery library
|
| |
| |
| |
| |
| |
| |
| | |
The security token here doesn't improve the security as the other
requests that allow you to do the same thing aren't protected and I
don't see why locking or draft creation should be subject of XSRF
attacks.
|
| |
| |
| |
| |
| |
| |
| | |
This disables lock and draft creation for pages the user can't edit. It
additionally adds a security token to the draft creation and deletion
request so - at least for logged in users - drafts can't be created,
modified or deleted so easily anymore.
|
| |
| |
| |
| | |
This works around a new "feature/bug" of Firefox 4.
|
| | |
|
|/ |
|
| |
|
|
|
|
| |
I also adjusted the coding style to match our other JS classes
|
|
|
|
| |
When creating new pages, no date field is added in the edit form.
|
|
|
|
|
|
|
|
| |
The keydown event can't be prevented in Opera (see
http://www.quirksmode.org/dom/events/keys.html) so this switches back to
keypress in Opera (keypress doesn't give the correct key codes in
Firefox). Furthermore Opera replaces '\n' by '\r\n' when inserting text,
thus the offset for cursor/selection placement was wrong.
|
| |
|
|
|
|
|
|
|
|
| |
besides via Save or Preview button. This has been successfully tested in FF,
Chrome and IE6/7/8. Opera does not support onbeforeunload, therefore the draft
is kept if the user navigates away from the editor.
Please test this.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Syntax error fixed
* lock refresh event is now attached to the whole edit form since it bubbles
up and we cannot be sure that the wikitext input exists on all edit forms
* Updated findPos(X|Y)
* Easier and less error-prone way of getting the section edit button in the
highlight mouseover event handler
|
| |
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
This patch disables all keyhandling (as used for automatic list indention)
when some text is selected. This fixes unexpected behavior when selecting
some text at the start of a list item and hitting backspace.
|
|/
|
|
|
|
| |
Ignore-this: 87db996b332355addacd81b1ac13b0ab
darcs-hash:20091125144759-6e07b-601ea98a48d9d3c9dd3508cdb9cde9b86c83a5a3.gz
|
| |
|
|
|
|
|
|
|
| |
Ignore-this: bd910501ef05d1341c1d67648dc66e32
Firefox doesn't send correct keycodes in onkeypress events
darcs-hash:20091125085224-6e07b-ffce34608064ffe62708da5efb3065103ca95eda.gz
|
|
|
|
|
|
| |
Ignore-this: 27e51f5d17946587742ca29f640baad
darcs-hash:20091107152648-7ad00-65c14f833fbb9fd66bffbe676ca659f63a4c8800.gz
|
|
|
|
|
|
| |
Ignore-this: 9d142450d439f26feb5cc0aefb5963da
darcs-hash:20091102104643-6e07b-c26aa2fd5f3899e81b0e7e0e45b3c1d7043e8571.gz
|
|
|
|
|
|
| |
Ignore-this: 404026c070f3a0764cd3b20363333509
darcs-hash:20091102103712-6e07b-7fa6e59b7cac031e166af4b002bd1c40ba06c777.gz
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ignore-this: 4c7b7b3ebc83ce596e8a7e41d6a88f09
Another round of cleaning up the JavaScript code. A new bind() utility
function [1] was introduced and all eval() calls where removed from the
toolbar code.
[1] See http://www.cosmocode.de/en/blog/gohr/2009-10/15-javascript-fixing-the-closure-scope-in-loops
darcs-hash:20091018201710-7ad00-d0bcfa62e28a7a360c8bb8303367a94a9fa78fe1.gz
|
|
|
|
|
|
| |
Ignore-this: 51cdec6032a57653543cc2f73f92fa74
darcs-hash:20091018135147-7ad00-7c58d9343250d2d331b820497df6807a71e9b5ef.gz
|
|
|
|
|
|
| |
Ignore-this: 3b6c8568615d24be7115adf8570f56bd
darcs-hash:20091017180329-7ad00-9ff4a12c811f1a4c63e473dc6665928fda720850.gz
|
|
|
|
|
|
| |
Ignore-this: 9ec0aa658bf73175401e4282663b7f68
darcs-hash:20090918101358-7ad00-28363725efc2c862a855683096f4db816e827f70.gz
|
|
|
|
|
|
| |
Ignore-this: 6aee01f1e872490512480ff8cac566be
darcs-hash:20090827142929-6e07b-2aba4d2ac75c870f0c6e4ec903ec3c9ce5863842.gz
|