debug stuff

This commit is contained in:
arzynik 2012-07-03 17:11:40 -07:00
parent 5d03811e20
commit ebb024d202
2 changed files with 15 additions and 1 deletions

View File

@ -38,4 +38,18 @@
<public>***REMOVED***</public>
</live>
</stripe>
<twilio>
<sid>_KEY_</sid>
<token>_KEY_</token>
<hostname>_DOMAIN_</hostname>
<outgoing>+1_PHONE_</outgoing>
</twilio>
<phaxio>
<key>_KEY_</key>
<secret>_KEY_</secret>
</phaxio>
<phaxio2>
<key>_KEY_</key>
<secret>_KEY_</secret>
</phaxio2>
</data>

View File

@ -98,7 +98,7 @@ App.loadPaymentinfo = function() {
App.loadCommunity = function(id) {
App.cache('Community',id, function() {
App.community = App.cached['Community'][id];
console.log(App.community, id);
if (!App.community.id_community) {
$('.main-content').show();
$('.main-content').html('invalid community');