summaryrefslogtreecommitdiffstats
path: root/org
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2014-10-11 00:54:29 +0200
committerDavid A. Madore <david+git@madore.org>2014-10-11 00:54:29 +0200
commitf4e0494e6509cecce22346f6241831d3a5791847 (patch)
tree1d5735f5e9b3664e094e63280341980d585e7d23 /org
parenta285090037efb50f19fb3800bf2a015fd53d94c9 (diff)
downloaddamlengine-f4e0494e6509cecce22346f6241831d3a5791847.tar.gz
damlengine-f4e0494e6509cecce22346f6241831d3a5791847.tar.bz2
damlengine-f4e0494e6509cecce22346f6241831d3a5791847.zip
Thinko in d:wxref handling.
Diffstat (limited to 'org')
-rw-r--r--org/madore/damlengine/TodoWXrefAttr.java3
1 files changed, 2 insertions, 1 deletions
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,