3424e6ad12
it was just plain broken: * Setting link hrefs is no longer done in quite so many places to prevent conflicts. Still could be more centralized though. * Editor is no longer responsible for tracking note titles. It now issues signals for title changes, and Wiki takes care of tracking titles for all open editors. * A few places in Editor weren't making use of the new link_title() convenience function. Now they are. * They way Wiki was associating link pulldowns with their links was completely broken, because Javascript Arrays can't use DOM objects as keys. At least not if you want them to work. Now just setting a "pulldown" member on each link node directly. * Moved some of the "if you click a link and the target editor is already open, just highlight it" logic out of Editor and into Wiki. (Both load_note() and resolve_link(), unfortunately.) * Made Link_pulldown.title_field_changed just rely on resolve_link() instead of doing all the link resolving itself. |
||
---|---|---|
.. | ||
Editor.js | ||
Invoker.js | ||
MochiKit_LICENSE | ||
MochiKit.js | ||
Wiki.js |