From f4e0494e6509cecce22346f6241831d3a5791847 Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Sat, 11 Oct 2014 00:54:29 +0200 Subject: Thinko in d:wxref handling. --- org/madore/damlengine/TodoWXrefAttr.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'org') diff --git a/org/madore/damlengine/TodoWXrefAttr.java b/org/madore/damlengine/TodoWXrefAttr.java index e35d06f..2f0ca3c 100644 --- a/org/madore/damlengine/TodoWXrefAttr.java +++ b/org/madore/damlengine/TodoWXrefAttr.java @@ -41,7 +41,8 @@ public class TodoWXrefAttr extends TodoAttr { newAttr.setValue(target); this.owner.setAttributeNodeNS(newAttr); if ( ! this.owner.hasAttributeNS(DamlEngine.DAML_NS, "d:wrefcat") ) { - if ( ctx.wsc instanceof Context.WeblogMonthSelectionContext ) + if ( ctx.wsc instanceof Context.WeblogMonthSelectionContext + || ctx.wsc instanceof Context.WeblogRecentSelectionContext ) this.owner.setAttributeNS(DamlEngine.DAML_NS, "d:wrefcat", "@month"); } this.ownerDeque.registerAtStart(new TodoWrefAttr(newAttr, this.owner, -- cgit v1.2.3