1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-17 07:14:50 +00:00
TiddlyWiki5/core/modules
Jeremy Ruston 8e7c0907f8 Add checkactions attribute to Checkbox widget
See discussion at https://groups.google.com/d/msgid/tiddlywiki/526754d5-8786-49cd-aaa1-c77311670116%40googlegroups.com:

The history here is that in v5.1.14 we added an "actions" attribute to the checkbox widget that specified an action string to be specified whenever the state of the checkbox changed. The same action string is executed regardless of whether the checkbox was checked or unchecked.

Then in v5.1.16 we merged https://github.com/Jermolene/TiddlyWiki5/pull/3182 which added the "uncheckactions" attribute. The difference between the two is that the uncheckactions are only executed if the checkbox is unchecked. The main "actions" attribute is executed before any actions in "uncheckactions", which makes it possible to arrange things so that the "actions" attribute sets things to the checked state while the "uncheckactions" attribute overwrites those changes to set things to the unchecked state.

In retrospect, it would have made more sense to have also added a "checkactions" attribute that was executed only if the checkbox was checked. I'll investigate adding it for v5.1.20.
2019-07-14 13:42:43 +01:00
..
commands Add new deletetiddlers command 2019-05-30 16:54:57 +01:00
editor Make framed editor use tiddler-editor-background color (#3611) 2019-06-26 14:53:49 +01:00
filters Add escapecss filter (#3546) 2019-06-26 12:32:01 +01:00
indexers Add indexes to the wiki store to improve performance (#3951) 2019-05-24 21:07:37 +01:00
info Add $:/info/browser/language to the info mechanism 2019-03-07 18:42:49 +00:00
macros Refactor the dumpvariables macro as wikitext 2019-03-30 10:52:49 +00:00
parsers Add new "\import" pragma 2018-09-28 16:01:32 +01:00
savers Update core/modules/savers/github.js 2019-07-05 11:03:05 +08:00
server Fix bug with not definded variable (#4049) 2019-07-02 15:40:07 +01:00
startup Allow tm-open-window to specify a page title 2019-07-04 15:59:34 +01:00
storyviews Pop storyview: animation - don't x-overflow page (#3857) 2019-06-26 11:50:52 +01:00
upgraders Don't allow $:/Import tiddler to be imported 2019-03-01 17:39:42 +00:00
utils popup cancelling - use state reference 2019-07-11 07:35:06 +02:00
widgets Add checkactions attribute to Checkbox widget 2019-07-14 13:42:43 +01:00
commander.js Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
config.js Move the wikilink regexps into global config 2014-11-26 11:12:25 +00:00
deserializers.js Add support for JSON files containing a single tiddler 2017-03-17 14:19:43 +00:00
filters.js Add support for = prefix for filter runs that doesn't remove duplicates 2019-06-10 17:54:20 +01:00
keyboard.js Add support for global keyboard shortcuts (#3493) 2018-11-06 13:34:51 +00:00
language.js Make lazy loading message be translateable 2015-09-08 10:41:27 +01:00
pluginswitcher.js Add experimental support for RTL languages 2016-08-15 19:47:26 +01:00
saver-handler.js SaverHandler: Don't generate file if autosave disabled 2019-03-05 15:43:14 +00:00
story.js Fix issues with creation and modification dates 2015-09-11 13:34:01 +01:00
syncer.js Syncer: support configurable polling interval 2018-10-19 16:32:23 +01:00
tiddler.js Ensure tiddler.getFieldStringBlock uses a deterministic ordering 2019-04-14 14:23:49 +01:00
wiki-bulkops.js Add several new hooks for UI actions 2017-02-09 15:42:55 +00:00
wiki.js Improve action-createtiddler to return a draft title too 2019-06-04 12:33:01 +01:00