Submit form shell complete.

This commit is contained in:
Kerrick Long
2011-07-19 19:18:48 -05:00
parent 8d6056f1f5
commit 260578f0e4
5 changed files with 100 additions and 6 deletions
+4
View File
@@ -16,6 +16,10 @@
button.setBadgeDefaults();
chrome.tabs.onUpdated.addListener(background.prepareBrowserAction);
background.watchMail();
reddit.apiTransmit('GET', 'http://' + reddit.domain + '/reddits/mine.json', null, function (response) {
cache.set('reddits', response.data.children);
console.log(cache.get('reddits'));
});
}
window.onload = initBackground;
+1 -1
View File
@@ -17,7 +17,7 @@
document.getElementById('body').innerHTML = popup.createListHTML(currTab.url);
document.getElementById('body').style.width = settings.get('popupWidth') + 'px';
} else {
document.getElementById('body').innerHTML = popup.createSubmitForm(currTab.url);
document.getElementById('body').innerHTML = popup.createSubmitForm(currTab);
}
});
}