bug 356363 - Clean up scoping of calIObserver. Patch by Joey Minta <jminta@gmail.com>, r1=lilmatt, r2=dmose

git-svn-id: svn://10.0.0.236/trunk@221313 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mattwillis%gmail.com
2007-03-05 16:18:27 +00:00
parent 7bf04a102a
commit 045177424e

View File

@@ -1435,6 +1435,7 @@
// the calIObserver, and calICompositeObserver
({
calView: this,
mBatchCount: 0,
QueryInterface: function (aIID) {
if (!aIID.equals(Ci.calIObserver) &&
@@ -1447,7 +1448,7 @@
},
onStartBatch: function() {
this.calView.mBatchCount++;
this.mBatchCount++;
},
onEndBatch: function() {
this.mBatchCount--;