Dan Helfman
a8af8b3fb3
Fixed several edge cases with re-ranking notes during a reorder. Now updating several notes' ranks on every reorder instead of making successively more precise fractional ranks.
2009-02-10 17:05:03 -08:00
Dan Helfman
c03c54026f
Better interaction between empty notes and note reordering via dragging.
2009-02-10 02:17:28 -08:00
Dan Helfman
d0aa2614bc
Properly handling hitting page-up at the top or page-down at the bottom of the notes.
2009-02-10 02:04:37 -08:00
Dan Helfman
4f3267b0f4
Now note reordering is saved to the server. Still to do: New unit tests for reordering. Re-rank all notes in notebook when necessary.
2009-02-10 01:32:08 -08:00
Dan Helfman
0c01d9143f
Note drag-and-drop no longer breaks page-up and page-down.
2009-02-09 17:37:58 -08:00
Dan Helfman
6bf81cd2cb
A bit safer.
2009-02-06 15:01:46 -08:00
Dan Helfman
e3e3fa93d5
Got note dragging working. Now I just need to imlement drop!
2009-02-06 14:01:44 -08:00
Dan Helfman
47834ba541
Fixed a bug in which emptying the trash worked but produced a spurious error message.
2009-01-29 16:38:48 -08:00
Dan Helfman
b2648a037a
Prevent UI from attempting to load undefined toolbar buttons when viewing the trash.
2009-01-29 16:21:11 -08:00
Dan Helfman
caaff7af59
Fixed a bug in which performing a search when search results were already open would just hide the initial search results without showing the new ones.
2009-01-29 15:52:11 -08:00
Dan Helfman
3fd6a5f941
Fixed a bug in which hiding a focused note could (temporarily) leave an empty gap at the bottom of the page.
2009-01-29 12:18:57 -08:00
Dan Helfman
06092cb3b0
Don't display a byline if there isn't any note text yet.
2009-01-27 19:35:49 -08:00
Dan Helfman
24210fc9f5
More fixes to page up / page down. This time, properly handles top and bottom notes.
2009-01-27 16:26:37 -08:00
Dan Helfman
b4b2443b8e
Previous/next were completely backwards.
2009-01-27 16:17:24 -08:00
Dan Helfman
25db885cb8
Fix to prevent iframe editor from remaining focused when switching to a different static div editor with page up / page down.
2009-01-27 16:13:23 -08:00
Dan Helfman
5afee52199
Internet Explorer version 6, begone!
2009-01-27 15:54:11 -08:00
Dan Helfman
025faae54e
Updating the browser-not-supported error message.
2009-01-27 15:24:07 -08:00
Dan Helfman
dd7884c76c
New keyboard shortcuts now work even when an editor isn't already focused.
2009-01-27 12:26:48 -08:00
Dan Helfman
fcb57dcc98
New keyboard shortcuts: Start a search: Ctrl-slash. Save the current note: Ctrl-space.
2009-01-27 12:07:02 -08:00
Dan Helfman
fdebb1061b
New keyboard shortcuts for switching to next open note and previous open note: Page down and page up.
...
Also fixed visual bug that caused switching notes to flash when focusing.
The fix involved calling Editor.reposition() at the top of resize() instead of at the end.
2009-01-27 11:53:50 -08:00
Dan Helfman
941feb1dbf
A non-ideal solution, but now repositioning iframe periodically after a resize in case the div its tracking has moved.
2009-01-27 01:32:21 -08:00
Dan Helfman
d22e521b74
Messages/errors with no given positioning are now by default positioned at the top of the notes (instead of the bottom).
2009-01-26 14:22:50 -08:00
Dan Helfman
4ac6eb6322
Fixed focusing when opening special notes like search results, settings, etc.
2009-01-26 14:17:54 -08:00
Dan Helfman
b207ca0747
Made byline into a <div> instead of a <p> and moved it to the bottom of the note instead of the top.
2009-01-26 13:18:34 -08:00
Dan Helfman
fa6c9dbc7b
Fix: When a blank editor is open, and new note is clicked, just highlight that blank editor.
2009-01-24 23:48:10 -08:00
Dan Helfman
4675c5969b
Removing some code within display_error() that was preventing it from working.
2009-01-24 23:20:54 -08:00
Dan Helfman
319477083c
Fixed incorrect positioning of link pulldown and various other pulldowns. Also fixed opening of link pulldown via hovering.
2009-01-24 15:32:43 -08:00
Dan Helfman
42d4d514d2
Some typos and a range fix for IE.
2009-01-24 12:25:48 -08:00
Dan Helfman
5e67a87779
Fixed a bug in which hiding one div caused other divs to hide as well. Now using the note holder as the position_after variable.
2009-01-23 14:55:57 -08:00
Dan Helfman
51a568c39c
Several fixes for shared iframe releasing / focus interaction.
2009-01-22 22:33:32 -08:00
Dan Helfman
59f9134a8c
Now blurring the focused editor when hiding/deleting any other editor.
...
This prevents a visual bug in which the iframe below a shutdown() editor didn't move to its new position.
2009-01-22 16:54:56 -08:00
Dan Helfman
623dbbdb3a
Wiki.js no longer references Editor.iframe directly.
2009-01-22 15:30:17 -08:00
Dan Helfman
1658d43d4c
Now when an editor is focused, the toolbar buttons update accordingly.
2009-01-22 14:23:07 -08:00
Dan Helfman
f3ca7bc677
Removing obsolete "FIXME" comment.
2009-01-22 13:51:19 -08:00
Dan Helfman
c97613490e
Fixing some assumptions in Wiki.js that there are multiple iframes.
2009-01-22 13:30:00 -08:00
Dan Helfman
46d28d0ea0
Better window resizing behavior.
2009-01-22 13:05:18 -08:00
Dan Helfman
5ada27ac74
Fixed reverting a note to an old revision.
2009-01-13 13:38:35 -08:00
Dan Helfman
725904ba49
Now blurring in Wiki.editor_focused() for static divs as well (not just iframes).
2009-01-13 12:35:41 -08:00
Dan Helfman
59be7cc79d
Fixed more focusing issues.
2009-01-12 14:49:45 -08:00
Dan Helfman
d6611c1029
Fix for several note focusing problems. Also converted more of Wiki.js not to rely on an editor having an iframe.
2009-01-12 14:19:32 -08:00
Dan Helfman
6e1908a66a
Renamed finish_init() to connect_handlers() and made it work with create_div(). Made read-only editors stay divs, never iframes.
...
Added an OPERA constant to indicate when running in Opera.
2009-01-09 16:43:33 -08:00
Dan Helfman
28dc92ad21
Fixed a cut and paste error in Wiki.js initialization code.
2009-01-09 14:54:51 -08:00
Dan Helfman
f0da74b8ed
Made use of a new normalize_title() function that's responsible for returning "untitled note" as appropriate.
2009-01-07 14:15:22 -08:00
Dan Helfman
55362cd4b1
Now properly stripping off / adding "static_note_contents" span when switching between iframe/div.
2009-01-07 12:39:48 -08:00
Dan Helfman
b2eaa5a168
Don't blur an iframe as soon as the focus leaves, but rather when another editor is focused. This makes the toolbar work again.
2009-01-06 16:28:01 -08:00
Dan Helfman
087723ebdd
Improved iframe initialization code.
2009-01-06 16:20:04 -08:00
Dan Helfman
e043cf1e0c
Pulled in and merged most recent revision with iframes-on-demand changes.
2009-01-03 15:56:54 -08:00
Dan Helfman
c07794377d
Work towards iframes-on-demand.
2009-01-03 15:52:12 -08:00
Dan Helfman
ad96bbff86
Fixed a bug in which renaming the first post in a disussion didn't rename the discussion itself.
...
Also fixed a bug in which clicking on the notebook rename text field ended the renaming prematurely.
2008-12-27 01:28:38 -08:00
Dan Helfman
12bd7b2640
Centering the font pulldown selected mark dot is difficult, so instead just vertically align it to the top.
2008-12-27 00:32:37 -08:00