projects
/
feedingit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f3541d7
)
psa: fix feeds not showing up in some cases
author
Yves
<yves@marcoz.org>
Fri, 28 Oct 2011 23:03:40 +0000
(16:03 -0700)
committer
Yves
<yves@marcoz.org>
Fri, 28 Oct 2011 23:03:40 +0000
(16:03 -0700)
psa_harmattan/feedingit/qml/Feeds.qml
patch
|
blob
|
history
diff --git
a/psa_harmattan/feedingit/qml/Feeds.qml
b/psa_harmattan/feedingit/qml/Feeds.qml
index
fa6a6c0
..
2f39cbd
100644
(file)
--- a/
psa_harmattan/feedingit/qml/Feeds.qml
+++ b/
psa_harmattan/feedingit/qml/Feeds.qml
@@
-8,7
+8,7
@@
Item {
signal feedClicked(string feedid)
function reload() {
signal feedClicked(string feedid)
function reload() {
- feeds.xml = catid == "" ? "" : controller.getFeedsXml(catid);
+ feeds.xml = catid == "" ? "<?xml version=\"1.0\" encoding=\"utf-8\"?><xml></xml>" : controller.getFeedsXml(catid);
//feeds.reload()
console.log(feeds.xml)
}
//feeds.reload()
console.log(feeds.xml)
}
@@
-27,7
+27,7
@@
Item {
id: feeds
//source: catid == "" ? "" : "http://localhost:8000/feeds/" + catid //+ "?onlyUnread=" + parent.hideReadArticles
id: feeds
//source: catid == "" ? "" : "http://localhost:8000/feeds/" + catid //+ "?onlyUnread=" + parent.hideReadArticles
- xml: catid == "" ? "" : controller.getFeedsXml(catid)
+ xml: catid == "" ? "<?xml version=\"1.0\" encoding=\"utf-8\"?><xml></xml>" : controller.getFeedsXml(catid)
query: "/xml/feed"
XmlRole { name: "title"; query: "feedname/string()" }
query: "/xml/feed"
XmlRole { name: "title"; query: "feedname/string()" }