Bug 1084689 - Update ReadingList banner icon, r=margaret, lucasr

This commit is contained in:
Mark Capella 2014-10-20 20:31:57 -04:00
parent 5d370fff1a
commit cc342778ce
2 changed files with 2 additions and 0 deletions

View File

@ -478,6 +478,7 @@ public class Tab {
JSONObject json = new JSONObject();
try {
json.put("tabID", String.valueOf(getId()));
json.put("url", getURL());
} catch (JSONException e) {
Log.e(LOGTAG, "JSON error - failing to add to reading list", e);
return;

View File

@ -191,6 +191,7 @@ AboutReader.prototype = {
}
case "Reader:Add": {
// Page can be added by long-press pageAction, or by tap on banner icon.
let args = JSON.parse(aData);
if (args.url == this._article.url) {
if (this._isReadingListItem != 1) {