From: Alan Knowles Date: Thu, 24 Dec 2015 04:20:54 +0000 (+0800) Subject: Reader/Feed.bjs X-Git-Url: http://git.roojs.org/?p=web.Reader;a=commitdiff_plain;h=5b0ca5d3621d49060416802fb2b2e0c75543c12e Reader/Feed.bjs Reader/Feed.js Reader/templates/Feed.html --- diff --git a/Reader/Feed.bjs b/Reader/Feed.bjs index 11de6de..dec12d3 100644 --- a/Reader/Feed.bjs +++ b/Reader/Feed.bjs @@ -81,7 +81,7 @@ "$ String url" : "baseURL + '/Api/Reader_read'" }, { - "$ Array fields" : "", + "$ Array fields" : "[\n \"id\",\n \"article_id\",\n \"has_read\",\n \"article_id_id\" ,\n \"article_id_published_dt\" ,\n \"article_id_headline\" ,\n \"article_id_body\" ,\n \"article_id_real_url\" \n ]\n ", "xtype" : "JsonReader", "$ xns" : "Roo.data", "* prop" : "reader" diff --git a/Reader/Feed.js b/Reader/Feed.js index 67a9c07..419521b 100644 --- a/Reader/Feed.js +++ b/Reader/Feed.js @@ -104,6 +104,16 @@ Feed = new Roo.XComponent({ xtype : 'HttpProxy' }, reader : { + fields : [ + "id", + "article_id", + "has_read", + "article_id_id" , + "article_id_published_dt" , + "article_id_headline" , + "article_id_body" , + "article_id_real_url" + ], xns : Roo.data, '|xns' : 'Roo.data', xtype : 'JsonReader'