summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-07-13 03:15:39 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-07-13 03:15:39 -0400
commit6ae7057b5ca9a8c2ef79d28b362508fc14a3145b (patch)
treec1f3498c1255ff2dd8f5015bee4587b9d0866f03
parent55494720e56391ee8ddc55b43307af03a4bcb4b9 (diff)
correctly pass JSON object to receive function for Meteor
-rw-r--r--plugins/Meteor/meteorupdater.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Meteor/meteorupdater.js b/plugins/Meteor/meteorupdater.js
index f647ded3b..60d2cc372 100644
--- a/plugins/Meteor/meteorupdater.js
+++ b/plugins/Meteor/meteorupdater.js
@@ -30,9 +30,9 @@ var MeteorUpdater = function()
}
}
- function receive(message)
+ function receive(data)
{
- id = message.data.id;
+ id = data.id;
// Don't add it if it already exists
//
@@ -40,7 +40,7 @@ var MeteorUpdater = function()
return;
}
- var noticeItem = makeNoticeItem(message.data);
+ var noticeItem = makeNoticeItem(data);
$("#notices_primary .notices").prepend(noticeItem, true);
$("#notices_primary .notice:first").css({display:"none"});
$("#notices_primary .notice:first").fadeIn(1000);