Changes between Initial Version and Version 1 of Ticket #11627, comment 7


Ignore:
Timestamp:
Mar 18, 2014, 7:22:01 PM (10 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11627, comment 7

    initial v1  
    22> I suspect the new issue is caused by enableFolding being called on the same object more than once. Which is probably a bug with enableFolding, though I'm sure there's a workaround.
    33
    4 `enableFolding` adds anchors to each link `no1`, `no2`, ..., so it wasn't designed to be called more than once on a page. I tried a few different ways to work around this, eventually setting on [https://github.com/rjollos/trachacks/commit/362dac98efd70b5aaee55ca8dfa57dde1733a62e this change].
     4`enableFolding` adds an anchor to each link (`no1`, `no2`, ...) so it wasn't designed to be called more than once on a page. I tried a few different ways to work around this, eventually setting on [https://github.com/rjollos/trachacks/commit/362dac98efd70b5aaee55ca8dfa57dde1733a62e this change].
    55
    66If the other Trac developers agree, I might add the feature to Trac in a forthcoming release (albeit in a different form that CollapsiblePlugin, instead using !WikiProcessor arguments).