mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-11-04 05:54:27 +00:00
Fix refreshing of select widget when attributes change (#5635)
This commit is contained in:
1 parent
ca1cf7bb41
commit
8849ed0d46
1 file changed
+1
-1
@@ -170,7 +170,7 @@ Selectively refreshes the widget if needed. Returns true if the widget or any of
|
||||
SelectWidget.prototype.refresh = function(changedTiddlers) {
|
||||
var changedAttributes = this.computeAttributes();
|
||||
// If we're using a different tiddler/field/index then completely refresh ourselves
|
||||
if(changedAttributes.selectTitle || changedAttributes.selectField || changedAttributes.selectIndex || changedAttributes.selectTooltip) {
|
||||
if(changedAttributes.tiddler || changedAttributes.field || changedAttributes.index || changedAttributes.tooltip) {
|
||||
this.refreshSelf();
|
||||
return true;
|
||||
// If the target tiddler value has changed, just update setting and refresh the children
|
||||
|
||||
Reference in new issue
Block a user