summaryrefslogtreecommitdiff
path: root/lib/scripts/script.js
Commit message (Collapse)AuthorAge
* JS: Add style helper and fix footnotes in non-static containersMichael Hamann2011-02-06
|
* Made the auto submit script more versatileAndreas Gohr2011-01-31
| | | | | | When a <select> tag has the class "quickselect", this script will automatically submit its parent form when the select value changes. It also hides the submit button of the form.
* use background image based data security check in adminAndreas Gohr2010-09-09
|
* check data directory security FS#2020Andreas Gohr2010-09-09
| | | | | | | | | This is a javascript based check, executed from the admin menu. If the data directory is readable, a warning is displayed. Doing this check in JavaScript makes sure we have a real client side test (opposed to the check executed from ?do=check) Question: should this be localized?
* optimized SMB link warning thingyAndreas Gohr2010-04-30
|
* Better footnote popup positioningAdrian Lang2010-03-29
|
* Rewrite footnote popupAdrian Lang2010-03-29
| | | | | | * Popup now shows up relative to the link, not the mouse position * Easier handling of mouseout’s bubbling * Factor out popup creation to allow plugins to use it
* fixed Safari browser detectionGerry Weißbach2010-03-22
|
* Really remove edit highlighting on mouseoutAdrian Lang2010-03-22
|
* Various JavaScript fixesAdrian Lang2010-03-15
| | | | | | | | | * 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
* removed cursor:hand CSS property FS#1911Andreas Gohr2010-03-02
|
* Rewrite section edit handling according to #1860Adrian Lang2010-02-04
|
* Fix section edit highlighting for tablesAdrian Lang2010-01-19
| | | | darcs-hash:20091202122434-e4919-d7be5b868af742e2408091b48f0152153ff1acb1.gz
* fix revision selection on back action in chrome FS#1807Andreas Gohr2009-11-28
| | | | | | Ignore-this: ab8d6c01d376804768479250e253cdfe darcs-hash:20091128114542-7ad00-67a6c1d40ad641d83f9b606e42e3777aee504e33.gz
* removed dead codeAndreas Gohr2009-11-28
| | | | | | Ignore-this: 96e03b36fb35d1d27b7de58c8c4253f darcs-hash:20091128113618-7ad00-2aa37275c2d783c714f5aa0803ea9f0d76f439b2.gz
* fixed formatting errorAndreas Gohr2009-11-28
| | | | | | Ignore-this: 51519bbdfd098118a98af03b5c64ea0d darcs-hash:20091128113505-7ad00-cc51871bb7f7921683507e08dd800061fbcfbbee.gz
* Better section highlightingAdrian Lang2009-10-21
| | | | darcs-hash:20091021151244-28332-825d669945b62dd71009e632db07fbbe1d7bd7f7.gz
* Fix paragraph highlighting for mouseover on edit buttonsAdrian Lang2009-10-16
| | | | | | | | | | | Dokuwiki does not generate section edit buttons for h4 sections. Therefor, the edit button next to a h4 section belongs to a previous higher-level section. The AJAX-y paragraph highlighting onmouseover the edit button does not highlight all sections up to to higher-level section which owns the edit button, but only the last, i. e. h4 section. This patch highlights all sections up to the heading the edit button refers to. darcs-hash:20091016090946-e4919-fa9ed1f627a6cab9654eb66c5fb4760f3d4d9fcf.gz
* handle initially closed TOC correctly in addTocToggle FS#1747Gilad Arnold2009-10-04
| | | | | | Ignore-this: 83a047410a74913576745a320c55a226 darcs-hash:20091004091127-1b5fc-6cf4cf3aefb7f851e48ea15636732b716b4372ef.gz
* simplify JavaScript loadingAndreas Gohr2009-08-12
| | | | | | | | | | | | | | | | | | | | | Ignore-this: 7637977e042ed8ba7e9e9097f9e9f03f This patch removes the differences between the JavaScript loaded in edit and view modes. * increases the amount of JavaScript that is loaded initially * decreases the number of requests * only one cache for all javascript * all javascript is available in view mode The last point is the most important as it makes a lot of functionality available to plugins working in the view mode. The discussion plugin now can reuse the toolbar code for example. Note: development is part of ICKE 2.0 project http://www.icke-projekt.de darcs-hash:20090812194007-6e07b-c8a71dedf506065a95d8b84b55aafce67810236c.gz
* allow disabling of nosmblink warning via JavaScriptAndreas Gohr2009-08-25
| | | | | | | Just add LANG['nosmblinks'] darcs-hash:20090825143507-6e07b-ec114d8972d5636c783abbe405f064adb4f920a2.gz
* Javascript variable explicitly declaredSamuele Tognini2009-08-18
| | | | | | Ignore-this: 6cd522b1fa6d768ac7735c30fac3e1df darcs-hash:20090818154140-f213d-0770cbe838dcd4126843b16558b3387d065fce00.gz
* disable diff button when no two revisions are selected FS#1663Mikhail I. Izmestev2009-05-26
| | | | | | Ignore-this: 9c8cf4530d94d7168e34158c59ee4c66 darcs-hash:20090526104223-8beed-76c3e9ef68cc651518994ce31a0e4dfe566e7020.gz
* highlight section on section edit button mouseoverAndreas Gohr2009-02-14
| | | | | | | | | | Ignore-this: 128d5873729a0a00558465b45d5d9f58 Some people seem to have problems to see which section will be edited when using a section editing button. This patch adds a litle bit JavaScript magic to highlight the edited section to be, when hovering over a section button. darcs-hash:20090214161135-7ad00-59db7d9185784ba1fec2f2c2da30c6e64ae1ccc3.gz
* correctly strip footnote marker from popup note FS#1584Andreas Gohr2009-02-02
| | | | | | Ignore-this: 3858b6ec18bc178597d098dfb96001b darcs-hash:20090202180457-7ad00-f3d5344732acd4cc90ee08d120431e9fd88dab57.gz
* disable multiple revisions checkboxes if two are checkedAnika Henke2009-01-17
| | | | darcs-hash:20090117172920-f7d6d-d8a093a5b80a48b92c2f3abb08f7d029ae23e732.gz
* removed 'ALT+' from all titles of elements with accesskeys (FS#1172)Anika Henke2008-10-12
| | | | darcs-hash:20081012181638-f7d6d-d4614321134f78fc176688d8aaf9d9acccf1952e.gz
* FS#1134 remove inline javascript from windows sharesMichael Klier2008-10-11
| | | | darcs-hash:20081011143946-23886-78628e3ca7ec0c40f5d288c6a9832cd52b8b083b.gz
* preserve "wrap textarea" setting state in cookieDmitry Katsubo2008-10-07
| | | | darcs-hash:20081007192342-2c343-ea27e0a0396da425af69a6d0fcd8857b033cb8e6.gz
* tpl_actiondropdown addedAndreas Gohr2008-08-17
| | | | | | | This new template function allows a dropdown menu to be used to access all the DokuWiki do actions with minimal space requirement. darcs-hash:20080817203841-7ad00-f267285a3e9f119c5aaaf73ca276e3a2f1f72a94.gz
* alway initialize an empty toolbar first FS#1337Andreas Gohr2008-02-23
| | | | darcs-hash:20080223125855-7ad00-c8e1a3d81bc1cd71d7bdb4b70ffe588aa11fec04.gz
* use <sup> to markup footnote anchorsAndreas Gohr2008-01-19
| | | | | | | Using the <sup> HTML tag ensures that footnotes are shown correctly when displayed outside the DokuWiki stylesheet (eg. in feedreaders) darcs-hash:20080119010614-7ad00-59426b5e1d44f0ab932867e19e42b71f260f9cc9.gz
* typographically correct minus sign in toc toggle (yet even bigger)Anika Henke2007-05-16
| | | | darcs-hash:20070515223140-d5083-240785145d88259304d4e6a0df776864e53f5dd8.gz
* TOC toggle usability fixwingedfox2007-05-15
| | | | | | | | | Changes: 1. click event handler moved to the toc__header, because plus and minus signs are too small and not usable because of this 2. minus sign replaced with the bigger one, see http://debugger.ru/temp/cross-plus-9x9.html testcases 3. added the pointer cursor to the toc header darcs-hash:20070515045800-00f02-ed34ebd337c66e3bac731f300f2ce385f64f5e21.gz
* some more fixes for the toc toggle jsAnika Henke2007-05-14
| | | | darcs-hash:20070514205803-d5083-1b9ffb482ec2f3b948e200c6b89e8a13da1476d9.gz
* fix for stupid JS bug in TOC toggleAndreas Gohr2007-05-14
| | | | darcs-hash:20070514203709-7ad00-ba9193d94383f6a0bbaa7dbcaf4a06c0e833eade.gz
* replaced TOC toggle images by CSS magicAndreas Gohr2007-05-14
| | | | | | | Instead of relying on images to show the toggle button for hiding the table of contents, now some CSS is used to simulate an arrow. darcs-hash:20070514180903-7ad00-4aeef03580dfb92a5c939d3cdd569850ea31df5b.gz
* tiny url fix in toc image jsAnika Henke2007-05-14
| | | | darcs-hash:20070513223948-d5083-24db06f97ec34b1d5d1db6ae435718ecf171ba70.gz
* FS#1079 - made TOC images part of templateMichael Klier2007-04-08
| | | | darcs-hash:20070408144321-23886-266b4fec7c4d292f830689cced19798cd00d1422.gz
* updateAccessKeyTooltip updateBen Coburn2006-11-26
| | | | | | | Fix to DOMLib removal patch. All Mac browsers default to CTRL for tooltips except Opera. This includes Mozilla, so test for OS not browser. darcs-hash:20061126211257-05dcb-dcfec1ad0448b073c8b03b12f2628f2186ab3d57.gz
* DOMlib removedAndreas Gohr2006-11-10
| | | | | | | | | | | | | | | | The DOMlib javascript library was removed. It was only used for footnote tooltips and access key fixup. Removing the library creates a much smaller JavaScript footprint. The size of the compacted non-edit Javascript output was reduces from 56110 bytes down to 29296 bytes. The footnote tooltip was completely rewritten and tested in FireFox 2.0, IE 6 and Opera 9.02. Please test other browsers as well. The acces key fixup might beahve different now on Mac platforms. darcs-hash:20061110201541-7ad00-0dffad095193bc7e7c505796a99b0a0a010a6b0d.gz
* fixed script error introduced in last patchAndreas Gohr2006-09-24
| | | | darcs-hash:20060924175824-7ad00-f8a6b8e38ef62aab5c6853b1c355df34259ebb7c.gz
* progressbar script changeAndreas Gohr2006-09-24
| | | | | | | | The progressbar script used in the search accessed parts of the DOM before it was completely parsed which caused problems in IE. This patch moves back to document.write for outputting the image. darcs-hash:20060924170354-7ad00-1e0247b00fc4da4dd30301f4b9389ef727496c4a.gz
* css cleanup and fixesAnika Henke2006-06-18
| | | | darcs-hash:20060618144346-d5083-c93d6b009fd75e316b56e724006f04f8c9a1bdb3.gz
* usability enhancements for the loginform #803Andreas Gohr2006-05-27
| | | | darcs-hash:20060527185238-7ad00-1593c8b25d7f870c8a0b3017fbcf29c4e047f52c.gz
* javascript to toggle editor wrappingAndreas Gohr2006-05-25
| | | | | | | | This patch adds a way to sisable and enable the automating wrapping in the editor textarea. Disabling the wrapping is especially useful when editing large tables. darcs-hash:20060525152357-7ad00-ced566c5d640cc521877d4b3325640c3fcd3ded9.gz
* new mediamanagerAndreas Gohr2006-05-19
| | | | | | | | | | | | | | | This patch adds a completely rewritten media popup. The following noteworthy changes were made: - media manager uses a collapsible namespace tree - media manager uses AJAX if available - media manager popup can be kept open when selecting a media file - only one template is used for the media manager :!: Template - Editable image metadata is configured in conf/mediameta.php now - The JS cookie mechanism was enhanced to store key/value pairs - Language strings can be exported to JS in js.php darcs-hash:20060519165023-7ad00-4932b4553fc919aa4a8b8187958b823acf4f8cee.gz
* empty default title for inserted images #770Andreas Gohr2006-05-07
| | | | darcs-hash:20060507165308-7ad00-3526c8c4e5d8c10a8e003068008e2344e94e1739.gz
* accesskey tooltip rewritingBen Coburn2006-04-28
| | | | | | | | Does client-side rewriting of accesskey tooltip text so that it will be more OS and browser specific. Dokuwiki should output all accesskey tooltips as [ALT+<key>] because this patch matches on "[ALT+". darcs-hash:20060428015158-05dcb-0102a1b2068c053e81dd21ad3927c78b6c9f349e.gz
* Automatic draft savingAndreas Gohr2006-03-11
| | | | | | | | DokuWiki now automatically creates a draft file of the currently edited page. In case of an editing interuption (eg. Browsercrash) the draftfile can be continued later. darcs-hash:20060311200148-7ad00-919337a51e001136178d175a1755cd26122e9726.gz