aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJames Lal <james@lightsofapollo.com>2012-07-26 10:24:59 -0700
committerJames Lal <james@lightsofapollo.com>2012-07-26 10:24:59 -0700
commit1634e5e1ab44eed2881b301905ae7be4353a36d4 (patch)
tree6964eb283d86a5281560267bf5af29e174e5e61d /lib
parent0ca56ee8c47a580d33881ea05a5975e507131172 (diff)
downloadjsCalDAV-1634e5e1ab44eed2881b301905ae7be4353a36d4.tar.gz
emit DAV:/response on sax for each response
Diffstat (limited to 'lib')
-rw-r--r--lib/caldav/sax/dav_response.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/caldav/sax/dav_response.js b/lib/caldav/sax/dav_response.js
index 0c6c1a0..caba42f 100644
--- a/lib/caldav/sax/dav_response.js
+++ b/lib/caldav/sax/dav_response.js
@@ -224,6 +224,11 @@
var parent;
if (this.current.href) {
+ this.emit(
+ 'DAV:/response',
+ this.current.href,
+ this.current.propstat
+ );
parent = this.stack[this.stack.length - 1];
parent[this.current.href] = this.current.propstat;
}