summaryrefslogtreecommitdiffstats
path: root/js/items.js
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2012-09-01 21:01:39 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2012-09-01 21:02:00 +0200
commit37158f214163b73bf45a501b8c1bcaeafe478c7c (patch)
tree9893ef7ef605686d6ead08acd233abbfd431a824 /js/items.js
parent50b1b38d038a5def9606fdac4bcd944a65b09da6 (diff)
corrected param names for load, added enum for types
Diffstat (limited to 'js/items.js')
-rw-r--r--js/items.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/items.js b/js/items.js
index e3936d1a5..c41e67d50 100644
--- a/js/items.js
+++ b/js/items.js
@@ -80,9 +80,9 @@ var t = t || function(app, string){ return string; }; // mock translation for lo
Items.prototype.load = function(type, id, onSuccessCallback) {
var self = this;
var data = {
- feedId: id,
- feedType: type,
- getMostRecentItemId: this._itemCache.getMostRecentItemId(type, id)
+ id: id,
+ type: type,
+ mostRecentItemId: this._itemCache.getMostRecentItemId(type, id)
};
this._$articleList.addClass('loading');