diff --git a/Foursquare/app/assistants/app-assistant.js b/Foursquare/app/assistants/app-assistant.js index 6fe9229..c1ffc64 100644 --- a/Foursquare/app/assistants/app-assistant.js +++ b/Foursquare/app/assistants/app-assistant.js @@ -378,6 +378,8 @@ AppAssistant.prototype.handleLaunch = function (launchParams) { var cid=longurl.substr(s,len); var sig=longurl.substr(e+3); + var ref=sig.indexOf("&ref="); + sig = sig.substr(0,ref); if(cardStageController){ //app already opened cardStageController.pushScene("view-checkin",{checkin:cid,signature:sig}); diff --git a/Foursquare/app/assistants/attach-photo-assistant.js b/Foursquare/app/assistants/attach-photo-assistant.js index 73b37b8..95a6b9e 100644 --- a/Foursquare/app/assistants/attach-photo-assistant.js +++ b/Foursquare/app/assistants/attach-photo-assistant.js @@ -9,7 +9,7 @@ AttachPhotoAssistant.prototype.setup = function() { var credentials=this.cookieData.get(); //var pings=(credentials.swf=="on")? '1': '0'; var pings=_globals.swf; - this.stt=(_globals.settings.snedToTwitter==true)? '1': '0'; + this.stt=(_globals.settings.sendToTwitter==true)? '1': '0'; this.stf=(_globals.settings.sendToFacebook==true || _globals.settings.sendToFacebook=='true')? '1': '0'; diff --git a/Foursquare/app/assistants/preferences-assistant.js b/Foursquare/app/assistants/preferences-assistant.js index 0cc9a3b..f440669 100644 --- a/Foursquare/app/assistants/preferences-assistant.js +++ b/Foursquare/app/assistants/preferences-assistant.js @@ -110,7 +110,8 @@ PreferencesAssistant.prototype.setup = function() { {label: "Bad Kitty", value: "badkitty",secondaryIconPath: "images/bad_kitty_32.png"}, {label: "Spaz", value: "spaz",secondaryIconPath: "images/spaz_32.png"}, {label: "Spaz Special Edition", value: "spaz-sped",secondaryIconPath: "images/spaz_32.png"}, - {label: "TweetMe", value: "tweetme",secondaryIconPath: "images/tweetme_32.png"} + {label: "TweetMe", value: "tweetme",secondaryIconPath: "images/tweetme_32.png"}, + {label: "Project Macaw", value: "projectmacaw",secondaryIconPath: "images/project_macaw_32.png"} ]}, this.twittermodel = { diff --git a/Foursquare/app/assistants/user-info-assistant.js b/Foursquare/app/assistants/user-info-assistant.js index b9c5984..df0aacb 100644 --- a/Foursquare/app/assistants/user-info-assistant.js +++ b/Foursquare/app/assistants/user-info-assistant.js @@ -1808,7 +1808,7 @@ UserInfoAssistant.prototype.infoTapped = function(event) { action: "user", name: event.item.username }); - break; + break; case "spaz": _globals.openApp(this.controller, "Spaz", "com.funkatron.app.spaz", { action: "user", @@ -1827,6 +1827,12 @@ UserInfoAssistant.prototype.infoTapped = function(event) { name: event.item.username }); break; + case "projectmacaw": + _globals.openApp(this.controller, "Project Macaw", "net.minego.phnx", { + action: "user", + userid: event.item.username + }); + break; } break; } diff --git a/Foursquare/app/assistants/venuedetail-assistant.js b/Foursquare/app/assistants/venuedetail-assistant.js index b94f3c1..d73d120 100644 --- a/Foursquare/app/assistants/venuedetail-assistant.js +++ b/Foursquare/app/assistants/venuedetail-assistant.js @@ -571,6 +571,12 @@ VenuedetailAssistant.prototype.infoTapped = function(event) { name: event.item.username }); break; + case "projectmacaw": + _globals.openApp(this.controller, "Project Macaw", "net.minego.phnx", { + action: "user", + userid: event.item.username + }); + break; } break; } diff --git a/Foursquare/app/lib/globals.js b/Foursquare/app/lib/globals.js index 750db51..ccec34d 100644 --- a/Foursquare/app/lib/globals.js +++ b/Foursquare/app/lib/globals.js @@ -58,6 +58,7 @@ _globals.whatsnew={ "id":"whatsnew", "icon":"", "pages":[ + "Here's what's new in foursquare webOS v2.8.5! Follow me on Twitter: @zhephree