Hi,
I've created a simple javascript macro (called filterbacklog) that display
the current date time stamp
I've created a button that trigger the execution of this macro
<$button actions=<<filterbacklog>> >
Click me!
</$button>
When I click the first time on the button I get the console.log providing
the current timestamp
But When I click again on the button (withtout opening again the tiddler)
the macro is not executed again ...
As if tiddlywiki was accepting only the first button click event ..
Do you have an idea why this works like that ? Normal ? Workaround ?
Thanks for your help and support
Regards
Vpl
/*\
title: filterbacklog.js
type: application/javascript
module-type: macro
Macro to return the changecount for the current tiddler
\*/
(function(){
exports.name = "filterbacklog";
exports.params = [];
/*
Run the macro
*/
exports.run = function() {
var self = this,
tiddler,
fields = [],
t,f;
var output = [];
var titleVal = [];
var valReturn = "|qsdqsdqsd|\n";
// Collect all the fields
var date = new Date();
var timestamp = date.getTime();
console.log("filterbacklog 0.5"+timestamp);
return valReturn;
};
})();
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/32534198-2674-4e7e-80a7-c31339dd865d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.