aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/scripts
Commit message (Collapse)AuthorAge
* added doku_hasTextBeenModified, rename doku_checkSummaryGerrit Uitslag2016-05-19
| | | | | checkfunc is mainly replaced by doku_hasTextBeenModified, which is put in global scope to allow overriding by plugins.
* checkfunc() set textChanged only on real changeGerrit Uitslag2016-05-09
| | | | | | | | - 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)
* add JSDocsGerrit Uitslag2016-05-09
|
* Check if content really changed in the Editor, before popup a warning when ↵Gerrit Uitslag2016-04-30
| | | | | | leaving Fixes #1199
* upgraded jQuery to 1.12.3Andreas Gohr2016-04-19
|
* remove special IE support from textselection scripts #1535Andreas Gohr2016-04-19
| | | | The opera work around is still needed though! O_o
* remove IE<=8 innerText/textContent workaround #1535Andreas Gohr2016-04-19
| | | | Standardized node.textContent is available since IE9
* clean up the onselect callbackAndreas Gohr2016-02-24
| | | | | This makes sure the provided callback is using alphanumerics only. I'm not sure this is needed, but better safe than sorry.
* Revert "Revert "make reuse of mediamanager popup easier""Andreas Gohr2016-02-22
| | | | | | because we actually want it in this branch ;-) This reverts commit 38a2174b1dd098290d4b853df853c1072369377d.
* Revert "make reuse of mediamanager popup easier"Andreas Gohr2016-02-22
| | | | | | this was an accidental commit to master This reverts commit f7f7fb6c2b301fc145bf78687261f89e446e89ae.
* make reuse of mediamanager popup easierAndreas Gohr2016-02-22
| | | | | | | This introduces a mechanism to override what happens when a media item is selected in the media manager popup by providing a callback name in the URL. The default implementation just does what dw_mediamanager.insert did before and calls insertTags()
* Add an in-progress class to the quicksearch form.Sam Wilson2015-10-28
| | | | | | | | | | | | | | This change adds a new class to the quicksearch's <form> element while the quicksearch is running. This is to make it easier to style the form, e.g. with a throbber gif in the search box, to indicate that something is happening. For slow connections, it is sometimes not apparent that waiting for a few seconds will present the user with a list of matching pagenames. The new 'searching' class is added just before the POST request is sent, and cleared both on successful completion and when the search box is cleared.
* locktimer: removed deprecrated stuff and some cleanupAndreas Gohr2015-07-31
|
* removed deprecated JavaScriptAndreas Gohr2015-07-31
|
* improve aria attribute handling. closes #1142Andreas Gohr2015-07-15
| | | | adds aria handling to makeToggle and allows to supress it in dw_toggle
* changed all input type=submit buttons to button type=submit button for ↵Anika Henke2015-07-12
| | | | better stylability
* Upgrade to jQuery 1.11.3 and jQueryUI 1.11.4 closes #1175Andreas Gohr2015-05-29
|
* Add pipe to end of link pasted w/o titleMichael Große2015-05-05
| | | | | It is helpful if the pipe is still inserted by the linkwizard when there is no title. This increases usability for beginners.
* Add comment to explain purpose of folliwing linesMichael Große2015-04-23
|
* Move cursor to the end of the text in inputMichael Große2015-04-23
|
* Update toolbar.jschang-zhao2015-03-21
| | | When the picker button is near the border of the screen, then an opening panel of picker buttons can go over the screen edge. That's not convenient. So we should add a check in a `function pickerToggle()` and shift picker buttons position if needed.
* Losslessly reduced PNG images with optipng -o7 -strip all, advdef -z4 -i60, ↵KeenRivals2015-01-14
| | | | and advpng -z4 -i60.
* Merge pull request #927 from cstuder/ctrlenter2submitAndreas Gohr2015-01-08
|\ | | | | Handles CTRL-Enter event to save in the editor
| * Handles CTRL-Enter event to save in the editorchristian studer2014-11-12
| |
* | add new behaviour: bounceAndreas Gohr2014-12-11
| | | | | | | | | | | | | | Add the class .bounce to any element to let it bounce slightly for 2 seconds. This is useful to make the user aware of some element. Can be combined with #scroll__here when a long list auto scrolls to a certain item.
* | offsets are not available for hidden elementsAndreas Gohr2014-12-11
| |
* | fade out search hit colorizationAndreas Gohr2014-12-11
| |
* | animate automatic scrolls and don't scroll to borderAndreas Gohr2014-12-11
|/ | | | | | This adds a subtle animation effect when scrolling to the #scroll__here behaviour ID. It also adds a 100px offset to make the object not stick to the browser border.
* upgrade to jQuery 1.11.1 and jQuery-UI 1.11.0. #778Andreas Gohr2014-07-04
| | | | | | | | | This now pulls all data from official jQuery sources. Either their CDN or their github account. Google tends to serve outdated or even broken files :-( Unfortunately there's no simple way to get the latest stable jQuery-UI so for now the version has to be adjusted manually in the script.
* fix IE upload when Array prototype has been modifiedAndreas Gohr2014-06-19
| | | | | | The edittable plugin broke uploading in IE8 (and maybe others) because the Handsontable script adds a function to the Array prototype and the uploading script did not properly check that.
* update deprecation stuff for dw_qearchGerrit Uitslag2014-05-05
|
* strip sourcemaps after updateAndreas Gohr2014-03-05
|
* updated jquery-migrate to v1.2.1Andreas Gohr2014-03-05
|
* updates jquery and jquery uiAndreas Gohr2014-03-05
| | | | | | | | we now pull jQuery directly from jquery's CDN instead of google because google serves slightly outdated versions under the /1/ branch The updated smoothness theme currently breaks compression. Haven't figured out why, yet.
* fixed whitespace errors introduced in #535Andreas Gohr2014-02-14
|
* Merge branch 'toolbar' of git://github.com/hafron/dokuwiki into pull-request-535Andreas Gohr2014-02-14
|\ | | | | | | | | | | * 'toolbar' of git://github.com/hafron/dokuwiki: megre changes add preventDefault to toolbar buttons
| * megre changesSzymon Olewniczak2014-02-07
| |
| * add preventDefault to toolbar buttonsSzymon Olewniczak2014-02-07
| |
* | Merge pull request #502 from splitbrain/multiqsearchAndreas Gohr2014-02-14
|\ \ | | | | | | dw_qsearch as jQuery function
| * | Use more general name for qsearch outputGerrit Uitslag2014-01-17
| | |
| * | move getSearchterm to overrideable methodGerrit Uitslag2014-01-17
| | |
| * | Reformat qsearch.jsGerrit Uitslag2014-01-17
| | |
| * | Made a jquery function of dw_qsearchGerrit Uitslag2014-01-17
| | |
* | | adjusted IE detection for smblinksAndreas Gohr2014-02-13
| |/ |/| | | | | | | | | | | | | MSIE 11 tries hard to break any previous working browser detection even through feature checks. This resolves to browser sniffing (MSIE for old IE, Trident for IE11+) See https://forum.dokuwiki.org/thread/10824
* | Merge pull request #503 from splitbrain/datepickerlocaleAndreas Gohr2014-02-02
|\ \ | | | | | | localize jQuery UI date picker FS#2912
| * | do not keep zero size filesAndreas Gohr2014-01-17
| | |
| * | localize jQuery UI date picker FS#2912Andreas Gohr2014-01-17
| | |
* | | renamed conflicting JavaScript functions FS#2915Andreas Gohr2014-01-17
|/ /
* / removed invalid source mappingsAndreas Gohr2014-01-03
|/ | | | | | Minified jQuery contains a source mapping hint that will result in a 404 in Chrome. I removed the hint for now. A better solution (eg. fixing the mapping URL) should be found.
* crlf 2 lf whitespace fixesAnika Henke2013-12-07
|