mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-31 15:42:59 +00:00 
			
		
		
		
	This reverts commit 4efcad46f3.
			
			
This commit is contained in:
		| @@ -55,8 +55,7 @@ function SimpleEngine(options) { | |||||||
| 	// Add an input event handler | 	// Add an input event handler | ||||||
| 	$tw.utils.addEventListeners(this.domNode,[ | 	$tw.utils.addEventListeners(this.domNode,[ | ||||||
| 		{name: "focus", handlerObject: this, handlerMethod: "handleFocusEvent"}, | 		{name: "focus", handlerObject: this, handlerMethod: "handleFocusEvent"}, | ||||||
| 		{name: "input", handlerObject: this, handlerMethod: "handleInputEvent"}, | 		{name: "input", handlerObject: this, handlerMethod: "handleInputEvent"} | ||||||
| 		{name: "blur", handlerObject: this, handlerMethod: "handleBlurEvent"} |  | ||||||
| 	]); | 	]); | ||||||
| 	// Insert the element into the DOM | 	// Insert the element into the DOM | ||||||
| 	this.parentNode.insertBefore(this.domNode,this.nextSibling); | 	this.parentNode.insertBefore(this.domNode,this.nextSibling); | ||||||
| @@ -134,20 +133,6 @@ SimpleEngine.prototype.handleFocusEvent = function(event) { | |||||||
| 	return true; | 	return true; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| /* |  | ||||||
| Handle a dom "blur" event |  | ||||||
| */ |  | ||||||
| SimpleEngine.prototype.handleBlurEvent = function(event) { |  | ||||||
| 	if(this.widget.editFocusPopup) { |  | ||||||
| 		$tw.popup.triggerPopup({ |  | ||||||
| 			domNode: this.domNode, |  | ||||||
| 			title: this.widget.editFocusPopup, |  | ||||||
| 			wiki: this.widget.wiki |  | ||||||
| 		}); |  | ||||||
| 	} |  | ||||||
| 	return true; |  | ||||||
| }; |  | ||||||
|  |  | ||||||
| /* | /* | ||||||
| Create a blank structure representing a text operation | Create a blank structure representing a text operation | ||||||
| */ | */ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Simon Huber
					Simon Huber