summaryrefslogtreecommitdiff
path: root/lib/scripts/script.js
Commit message (Collapse)AuthorAge
* 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
* fixed id suggestion in upload dialogAndreas Gohr2006-03-09
| | | | darcs-hash:20060309184601-7ad00-a1e8e9dfb0fe5cab69aa982809c712b77e2eccfd.gz
* no more document.write for progressbarAndreas Gohr2006-03-02
| | | | darcs-hash:20060302140949-6e07b-d85f1e3f8989bd5fe8464f4f82ef8a14f8722eff.gz
* changed IDs to avoid name clashesAndreas Gohr2006-02-26
| | | | darcs-hash:20060226172332-7ad00-f073117ba2f027935f87cf23106bf6a4316a5790.gz
* small enhancement for image insertion as suggested by Bob BaddeleyAndreas Gohr2006-02-23
| | | | darcs-hash:20060223210412-7ad00-725252ab13b08d01569f13fabdffbdc3b0334676.gz
* scroll__here supportAndreas Gohr2006-01-26
| | | | | | | | This adds a simple JavaScript behavior. When an element with the id 'scroll__here' is found in the document the browser will scroll this element into view. Useful to scroll to some output after form submitting. darcs-hash:20060126212926-7ad00-b359915a5d6a299652134d8dfa64015786283b6b.gz
* java script changesAndreas Gohr2006-01-26
| | | | | | | This adds a javascript confirmation for the delete button in the user manager. It also adds the $() shortcut function known from the prototype library. darcs-hash:20060126203550-7ad00-d5690ef06432286239953a79c5dbbc25f8720204.gz
* unobstrusive JS for TOC, better onload handlingAndreas Gohr2005-12-10
| | | | | | | | | This path adds more unobstrusive JavaScript for the TOC handling. It also loads JavaScript initialiezers as soon as the DOM is parsed for Mozilla-based Browsers as described at http://dean.edwards.name/weblog/2005/09/busted/ - a IE solution was not chosen yet. darcs-hash:20051210193709-7ad00-771461e56d9661caf9ca733a6d617f009e24d0b7.gz
* More work on Javascript and CSS dispatchersAndreas Gohr2005-10-29
| | | | darcs-hash:20051029185222-7ad00-c184ab3496539f3027407c7d17e8770a1849546a.gz
* JavaScript refactoringAndreas Gohr2005-10-29
| | | | | | | | This patch addes a first go on a central javascript and CSS dispatcher which builds a single script from all needed scripts, does optimizing and caching. darcs-hash:20051029002652-7ad00-7558b569c2bf65f5e41820644580d97c62edd0d6.gz
* more unobstrusive javascriptAndreas Gohr2005-10-15
| | | | | | | | | | The edit form now is free of inline event handlers. There are still other places where inline javascript and even document.write is used which should be fixed as well. Currently the window.onload event is used to initialize everything which may not the best way to do so. Dean Edwards may have a solution: http://dean.edwards.name/weblog/2005/09/busted/ darcs-hash:20051015184404-7ad00-2404744d008e5ea7e1b5800c96800824b532ff47.gz
* first go on unobstrusive javascript, new toolbarAndreas Gohr2005-10-08
| | | | darcs-hash:20051008175404-7ad00-cd640de7660825b19d5e863cc8caf5467d59b055.gz
* footnote fix: update to previous patch, corrects IE issueschris2005-07-28
| | | | darcs-hash:20050728124131-50fdc-f5fd8977074ccabef6ea4606a7728f228bdc73b6.gz
* footnote fix: almagamate identical footnotes, insitu footnote popupschris2005-07-28
| | | | darcs-hash:20050728005522-50fdc-f359021d5bcf602c2c403d37852196d5eeb4d473.gz
* fixed problem with TOC toggle and W3C validatorandi2005-06-24
| | | | darcs-hash:20050624134114-9977f-4d08d9644dbc6836b55ec5c83aa6b10980a545be.gz
* directory layout cleanup !IMPORTANTandi2005-06-05
This patch changes the directory structure of dokuwiki as suggested in http://www.freelists.org/archives/dokuwiki/06-2005/msg00045.html As the changes.log is not managed through darcs you need to move it your self to the new location in data/changes.log I think I modified the code at all nessessary places, but I may have forgotten a few things. darcs-hash:20050605103842-9977f-af20f63c1d604888375d175d89ac6bd71566d47d.gz