summaryrefslogtreecommitdiff
path: root/lib/scripts/edit.js
Commit message (Collapse)AuthorAge
* removed 'ALT+' from all titles of elements with accesskeys (FS#1172)Anika Henke2008-10-12
| | | | darcs-hash:20081012181638-f7d6d-d4614321134f78fc176688d8aaf9d9acccf1952e.gz
* removed all occurrences of onkeypress (FS#1449)Anika Henke2008-07-20
| | | | darcs-hash:20080720110738-d5083-50a92498622bd6ca9850da8f9417974fb39ccc3d.gz
* run summary check when inserting text via the toolbarGabriel Birke2008-07-16
| | | | darcs-hash:20080716191515-79ce3-47817a86b0ca99f576689e8ea8a3c8356e552654.gz
* correctly encode namespace in mediapopup URL FS#1319Andreas Gohr2008-02-15
| | | | darcs-hash:20080215094453-7ad00-a9ed8007f639ab9a163ea39cb6ce5dd43f639983.gz
* make toolbar JS functions accept absolute image pathsAndreas Gohr2007-11-23
| | | | darcs-hash:20071123102814-7ad00-c7060ea1daf8ff4a6d7fcb3ce912d3ce43410b35.gz
* fullpath fix for WindowsAndreas Gohr2007-09-30
| | | | darcs-hash:20070930214958-7ad00-bc8ca26f86ea4c9e68ea2b8f3cacc2a598543122.gz
* Arbitrary Button types in JS toolbarGabriel Birke2007-08-26
| | | | | | | | | | | | | | | | | | | | | This is my patch for creating toolbar buttons with arbitrary button types, tested with Firefox, Opera and IE7. If you want to create a new type of button, you must have a function in the script.js file of your plugin. The function name must begin with "addBtnAction", followed by the type name, for example for the type "myType" the function must be called "addBtnActionMyType" (bear in mind that the first char of the type must be uppercased in the function name). The function has four parameters: "btn" is the HTML element for the button where you attach the onclick handler "props" is an associative array of the array properties that come from the toolbar array that was created by toolbar.php "edid" (optional) is the id of the editor textarea "id" (optional) is a "unique" number for each button: the index variable of the for loop where the buttons get created. darcs-hash:20070826192206-79ce3-1fe6f49c1eb5d0c10adbadc43f7b2ee1aec1853e.gz
* correct hilighting of empty summary on previewTom N Harris2007-07-05
| | | | darcs-hash:20070705215447-6942e-d3e1124a3cfec6661a7077bc0d9707b156bc2313.gz
* JS checks for .hasOwnPropertywingedfox2007-01-11
| | | | | | | | | This patch includes - several helper functions - is* checks - hasOwnProperty method emulator - checks for .hasOwnProperty in all for..in loops darcs-hash:20070111114236-00f02-50a71681e5d04faf086f1b8032a384648378b744.gz
* use encodeURIComponent instead of encodeURI for variable valueschris2006-11-05
| | | | darcs-hash:20061105135805-9b6ab-c1d7835b9920402389a2d12a309582adae0872a5.gz
* link to media managerAndreas Gohr2006-05-19
| | | | | | | | This patch add a link to the media manager when no JavaScript is available. Users can upload and browse for pictures now without the need for JavaScript only inserting has to be done manually then. darcs-hash:20060519175959-7ad00-5ee77fd00d20bef9a36eee632a1c5897097ba4a8.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
* javascript fix to mak sumarry checking use addEventAndreas Gohr2006-05-12
| | | | darcs-hash:20060512073949-7ad00-64c25a5f74939cd4ca17e5928d77f0951c67b3ac.gz
* empty default title for inserted images #770Andreas Gohr2006-05-07
| | | | darcs-hash:20060507165308-7ad00-3526c8c4e5d8c10a8e003068008e2344e94e1739.gz
* fix changecheck in IE FS#785Andreas Gohr2006-05-01
| | | | darcs-hash:20060430221451-7ad00-9729246270f67bcc955a42727595925e6f53a331.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
* fix for insertAtCarret in IE #730Andreas Gohr2006-03-04
| | | | darcs-hash:20060304132021-7ad00-9a66209ce9d4e85cee8ba50b1ea6f623b5bea768.gz
* changed IDs to avoid name clashesAndreas Gohr2006-02-26
| | | | darcs-hash:20060226172332-7ad00-f073117ba2f027935f87cf23106bf6a4316a5790.gz
* Pagelocks are now refreshed in the backgroundAndreas Gohr2006-01-28
| | | | | | | An AJAX call is used to refresh the pagelock when keypresses in the textarea are detected (With a minimum wait of one minute between calls). darcs-hash:20060128152139-7ad00-66d64326bcf04c9b8d49285ac736137e9dd48249.gz
* javascript fixes #641Andreas Gohr2005-11-26
| | | | darcs-hash:20051126124017-7ad00-7ea49b9ecdae1e7c0b7645245db6ecfc642aa89e.gz
* JavaScript Fixes for the toolbar #628Andreas Gohr2005-11-11
| | | | darcs-hash:20051111200142-7ad00-158925aee01bc24378a8bd99ad27a6173ea085dd.gz
* insert bug in IEMatthias Grimm2005-11-11
| | | | | | | This bug fixes a bug in the IE javascript code that prevent the toolbar from inserting text. darcs-hash:20051111170349-4145d-2094b82efa1245ae8190d2d65050fbb2ace11c03.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