1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-09 20:12:59 +00:00

Add tiddler info dropdown

Including backlinks
This commit is contained in:
Jeremy Ruston
2013-03-19 16:45:07 +00:00
parent 069bb624e5
commit 952f1b3900
11 changed files with 80 additions and 18 deletions

View File

@@ -90,17 +90,22 @@ ButtonWidget.prototype.setTiddler = function() {
};
ButtonWidget.prototype.handleClickEvent = function(event) {
var handled = false;
if(this.message) {
this.dispatchMessage(event);
handled = true;
}
if(this.popup) {
this.triggerPopup(event);
handled = true;
}
if(this.set && this.setTo) {
this.setTiddler();
handled = true;
}
event.stopPropagation();
event.preventDefault();
return false;
return handled;
};
ButtonWidget.prototype.handleMouseOverOrOutEvent = function(event) {