summaryrefslogtreecommitdiff
path: root/lib/scripts
Commit message (Collapse)AuthorAge
* Avoid whitespace because of toolbar pickers FS#1841Andreas Gohr2010-01-09
|
* renamed media manager JS object FS#1813Andreas Gohr2009-12-16
| | | | | | | | | | Ignore-this: 7ded514e72e46ca3af5e22f7043dbd8b "media" seems to be a reserved object in recent JavaScript DOM scripting standards. Most recent Chrome builds will choke on our scripts overwriting that name. darcs-hash:20091216204852-7ad00-aab1927c81e2064ac763db77323085f977f38ce3.gz
* added var in index.jsAndreas Gohr2009-12-16
| | | | | | Ignore-this: 8912201740e23f9daaf96a0a3ce0c11a darcs-hash:20091216101534-6e07b-a6bb350029865813d5daf742c4311e31cf5c6a80.gz
* get text selection early in linkwizard FS#1820Andreas Gohr2009-12-15
| | | | | | | | Ignore-this: 47573bdaf0c547971bb3013c90c4c037 Fixes a problem with the link wizard in MSIE6 darcs-hash:20091215130634-6e07b-d9da628897912a086c0fe5ea5aad49b505fe1a1e.gz
* fixed IE text selection (needs testing) FS#1808Andreas Gohr2009-11-28
| | | | | | | | | | | | Ignore-this: c8405fda4cbf2e1fa9d89609e1df666e This seems to fix the text seelction problem in IE when the selection starts or ends at a newline. This was only tested in IE8 so far but should work in IE6 and IE7, too. Please provide feedback if not. darcs-hash:20091128165402-7ad00-cb9a38e7f245b441afe40a15422930ad60805a56.gz
* var declaration in drag.jsAndreas Gohr2009-11-28
| | | | | | Ignore-this: a5dbedead9ab55588f186a197b3409b darcs-hash:20091128114734-7ad00-9a97355005e1a28e9def5eb3505f714e92c124d6.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
* fixed list indention codeAndreas Gohr2009-11-25
| | | | | | | Ignore-this: bd910501ef05d1341c1d67648dc66e32 Firefox doesn't send correct keycodes in onkeypress events darcs-hash:20091125085224-6e07b-ffce34608064ffe62708da5efb3065103ca95eda.gz
* do changecheck JS for default edit form onlyAndreas Gohr2009-11-07
| | | | | | Ignore-this: 27e51f5d17946587742ca29f640baad darcs-hash:20091107152648-7ad00-65c14f833fbb9fd66bffbe676ca659f63a4c8800.gz
* LinkWizard: don't add a title when useheading is used for content FS#1745Andreas Gohr2009-11-02
| | | | | | Ignore-this: 48f0da3ab0bf0178197b16e63143e1ca darcs-hash:20091102130115-6e07b-d10e1c076791cdeb08b87ec76d6be8730228c8fb.gz
* LinkWizard: fix for problems with root links in subnamespaces FS#1771Andreas Gohr2009-11-02
| | | | | | Ignore-this: e07c765961bc73acda47cb4b2a464fde darcs-hash:20091102121632-6e07b-0bd882243d225753c8dd9e2992914d1b723b4ce0.gz
* Fixed ssues on the "Page locked" screenAndreas Gohr2009-11-02
| | | | | | Ignore-this: 9d142450d439f26feb5cc0aefb5963da darcs-hash:20091102104643-6e07b-c26aa2fd5f3899e81b0e7e0e45b3c1d7043e8571.gz
* fixed scrolling issue in new list editing FS#1790Andreas Gohr2009-11-02
| | | | | | Ignore-this: 404026c070f3a0764cd3b20363333509 darcs-hash:20091102103712-6e07b-7fa6e59b7cac031e166af4b002bd1c40ba06c777.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
* added bind() JS function got rid of all eval() callsAndreas Gohr2009-10-18
| | | | | | | | | | | | 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
* hide pickers with margin-left - fixes FS#1781Andreas Gohr2009-10-18
| | | | | | Ignore-this: 51cdec6032a57653543cc2f73f92fa74 darcs-hash:20091018135147-7ad00-7c58d9343250d2d331b820497df6807a71e9b5ef.gz
* Some JS cleanup, keep accesskeys working for hidden pickers FS#1761Andreas Gohr2009-10-17
| | | | | | Ignore-this: 3b6c8568615d24be7115adf8570f56bd darcs-hash:20091017180329-7ad00-9ff4a12c811f1a4c63e473dc6665928fda720850.gz
* handle initially closed TOC correctly in addTocToggle FS#1747Gilad Arnold2009-10-04
| | | | | | Ignore-this: 83a047410a74913576745a320c55a226 darcs-hash:20091004091127-1b5fc-6cf4cf3aefb7f851e48ea15636732b716b4372ef.gz
* declare media and linkwiz objects with var FS#1756Andreas Gohr2009-09-29
| | | | | | Ignore-this: 98f8e6cfa17f9ebd845ed51978de0d2d darcs-hash:20090929185824-7ad00-3dbd7c88dcb06bbc58a764b8e63648ea5e6a23fb.gz
* Some changes to the media file searchAndreas Gohr2009-09-01
| | | | | | Ignore-this: 95042b9e60f807e046f93a362444a551 darcs-hash:20090901151703-6e07b-2c2d5a9a381b7ab6a19d1f74ba99aecb1e724181.gz
* Search capabilities for the media manager added.sarnowski2009-08-24
| | | | darcs-hash:20090824112230-8c5bd-7b8d8ba14e7533c1035b7b732983a0e3de8251a1.gz
* fixed event handler attachmentAndreas Gohr2009-09-18
| | | | | | Ignore-this: 9ec0aa658bf73175401e4282663b7f68 darcs-hash:20090918101358-7ad00-28363725efc2c862a855683096f4db816e827f70.gz
* Show toolbar for editable textarea onlyAndreas Gohr2009-09-06
| | | | | | Ignore-this: 7f9e82fb2c7e67d4b42ea6ec2d7bd7c2 darcs-hash:20090906110042-7ad00-5f48369d19054da1dfbfe8118afc9b6911dc60b3.gz
* do not prepend colon via javascript in media managerAndreas Gohr2009-08-30
| | | | | | | | | Ignore-this: 67ae7589474461a1279720865f0d18b9 Just moves the prepending of the colon (for absolute namespaces) from the javascript to the PHP backend code - makes reusing the javascript for non local files easier. darcs-hash:20090830130823-7ad00-2b53e48edd8e117ac3f7814c50ea429e06284809.gz
* added class for headline pickerAndreas Gohr2009-08-27
| | | | | | Ignore-this: 6aee01f1e872490512480ff8cac566be darcs-hash:20090827142929-6e07b-2aba4d2ac75c870f0c6e4ec903ec3c9ce5863842.gz
* select sample in tb_formatln()Andreas Gohr2009-08-27
| | | | | | | | | Ignore-this: 85ca1838ed81f69512d07d8504f6673f Note: development is part of ICKE 2.0 project http://www.icke-projekt.de darcs-hash:20090827115144-6e07b-2cfd3c592de4a734cf92cbb2416a9a50f558cfdb.gz
* Fixed IE compatibility for recent JavaScript changesAndreas Gohr2009-08-27
| | | | | | | | | Ignore-this: 62d43ad8ce4d6c506839a0da4a8ec40 Note: development is part of ICKE 2.0 project http://www.icke-projekt.de darcs-hash:20090827113438-6e07b-4378f3835e023b81dc12ce93e2c5b20cb8ad9a59.gz
* More Link wizard cleanupAndreas Gohr2009-08-14
| | | | | | Ignore-this: 100b66fbe26d82dfd6cffba751cf6992 darcs-hash:20090814114056-7ad00-f5dc711f467f9f6d8904bb6b08d7daac4e675ec2.gz
* fix scrolling on keyboard select in LinkWizardAndreas Gohr2009-08-14
| | | | | | Ignore-this: 831a3252b5cb7c3f8658c377f60c0a95 darcs-hash:20090814105344-7ad00-6643571c3363ceb25d818246cf1425e3db6c8216.gz
* small JS fixAndreas Gohr2009-08-14
| | | | | | Ignore-this: 42bc05343dabfa0b7cb7b14b9ba61834 darcs-hash:20090814092553-7ad00-89080ef0ba30d25b3d85afbb8a0a29a6e28b7b07.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
* Language file cleanups for JS changesAndreas Gohr2009-08-12
| | | | | | | | Ignore-this: 7c8f68f29f52bc1d33fdb76ba98d2307 Removed unused string, move another string to the [js] subarray. darcs-hash:20090812191138-6e07b-65db1b7560d437fb26a1a4d0095cd768b2c9af01.gz
* make dragged objects stylable via CSSAndreas Gohr2009-08-12
| | | | | | | | | | | | Ignore-this: ae47b532b80d10868e82e0ccc5c963d1 A DOM object that is dragged through the new drag Object gets the ondrag assigned. note: development was part of the ICKE 2.0 project see http://www.icke-projekt.de for info darcs-hash:20090812180344-6e07b-a50d6589f0650897ddd5f5d345a3d15513aada77.gz
* Link Wizard addedAndreas Gohr2009-08-12
| | | | | | | | | | | | | | | | | Ignore-this: c15561aa909f921f7845576378851b93 This adds a new link wizard to the toolbar which helps users to find the page the want to link to. Pages can be found by a simple page name search or by browsing the existing namespaces. This is the first checkin. Some cleanup and MSIE compatibility checks remain. note: development was part of the ICKE 2.0 project see http://www.icke-projekt.de for info darcs-hash:20090812102302-6e07b-fcc564fcaf2ed6aa832918870dd0f92607748687.gz
* Script lib for draggable DOM objectsAndreas Gohr2009-08-12
| | | | | | | | | | | | Ignore-this: 907af01f2757cc494d2c54d8e4d7b9d1 This adds a simple object that can be attached to positioned DOM objects to make them draggable. This is useful for inplace dialogs. note: development was part of the ICKE 2.0 project see http://www.icke-projekt.de for info darcs-hash:20090812102055-6e07b-88451d4d67877224950a289b9cd415544f4c2755.gz
* some cleanup in the IE selection handlingAndreas Gohr2009-08-06
| | | | | | Ignore-this: 5a6b527fbf3f2ffc79e3ceef11552763 darcs-hash:20090806093833-6e07b-f5fbd738bff54ec6a3488e4fb9ab98c6e49799d4.gz
* fixes another IE weirdnes when handling list itemsAndreas Gohr2009-08-05
| | | | | | | | | | | | Ignore-this: d5a0f9671af3607796332a1afcc8de79 Fixes a problem where list mode couldn't easily be left by removing a bullet. Hitting enter would readd a bullet always. note: development was part of the ICKE 2.0 project see http://www.icke-projekt.de for info darcs-hash:20090805123523-6e07b-46570b10a1422d04ad3c7251323568c712037864.gz
* Some text selection workarounds for MSIEAndreas Gohr2009-08-04
| | | | | | | | | | | | Ignore-this: b4a14bbf96712ec9ce9011e172f2af81 This patch solves some problems with reading the cursor positions and text selection on MSIE. note: development was part of the ICKE 2.0 project see http://www.icke-projekt.de for info darcs-hash:20090804150501-6e07b-5e3cf60261f5f51906df2d4cf15509e9075757e0.gz
* improved list handlingAndreas Gohr2009-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | Ignore-this: 2e4f3fbfb28917ee66cf3e1925c806d3 This patch adds multiple enhancements to handling lists and indented code blocks in the editor. 1. Pressing enter when in a list item or code block will keep the indention and adds a new list point 2. Pressing space at the start of a list item will indent the item to the next level 3. Pressing bckspace at the start of a list item will outdent the item to the previous level or delete the list bullet when you are at the 1st level already 4. A new type of formatting button called formatln is added. It applies formatting to several lines. It's used for the list buttons currently and makes it possible to convert mutiple lines to a list This enhncement are currently only tested in Firefox are most likely to break IE compatibility. A compatibility patch will be submitted later note: development was part of the ICKE 2.0 project see http://www.icke-projekt.de for info darcs-hash:20090804095707-7ad00-e565c66087c7121188ad7ece8265d9f64f7e6947.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
* fixed headline level detectionAndreas Gohr2009-06-29
| | | | | | | | Ignore-this: 39675a7f375e3eb619228dbabda857ea This fixes incorrect headline headline level detetion when the text starts with a headline (eg. in most cases) darcs-hash:20090629211200-7ad00-d8a7cbe331806fcdbca70b5da188b387dc2c2a87.gz
* reset scroll position when setting selection FS#1707Andreas Gohr2009-06-03
| | | | | | Ignore-this: cb035f32eccc0fcb2c9163b8620abb91 darcs-hash:20090603170042-7ad00-07ee60074714d6d23d34e59269776ccb504d1f0a.gz
* fix JS when compaction is enabledAndreas Gohr2009-05-28
| | | | | | Ignore-this: 4a6d9f3da25a04ec132cca2297328b1 darcs-hash:20090528161552-7ad00-679be8f486462e0b779039443d2af056ef8e5304.gz
* Make sub-toolbars in pickers possibleAndreas Gohr2009-05-28
| | | | | | | | Ignore-this: ace153a4684f7b345df56d796717a172 Now all types of buttons kan also be placed in a toolbar picker window. It should even be possible to create deep nested picker cascades. darcs-hash:20090528153507-7ad00-828c7a9022b7a4021bf8a74bcd0771373deee254.gz
* more javascript refactoringAndreas Gohr2009-05-28
| | | | | | Ignore-this: 10badc0f97ef80fcd366ae4622c43ff1 darcs-hash:20090528121543-7ad00-df34efabe84c632df9ef0c6fd691c991d2c3ac82.gz
* start of toolbar javascript refactoringAndreas Gohr2009-05-15
| | | | | | Ignore-this: 81ef7a71e6910751bf5d6c1b592978c4 darcs-hash:20090515173045-7ad00-e62f075dab9ec4dfa555554f4f50792ceccb97d7.gz