Commits

Aaron Toth committed 4b972c4

some final changes

  • Participants
  • Parent commits 31fd9e4

Comments (0)

Files changed (4)

File source/Pinnned.js

         {kind: "AppMenu", components: [
             {kind: "EditMenu"},
             {caption: "Preferences & Accounts", onclick: "showPreferences"},
-            {kind: "HelpMenu", target: "http://aaront.me/pinnned"},
+            {kind: "HelpMenu", target: "http://getsatisfaction.com/aaron_toth/products/aaron_toth_pinnned"},
+            {caption: "Report a Problem...",onclick: "reportProblem"},
             {caption: "About Pinnned...", onclick: "showAbout"}
         ]},
         {name: "aboutPopup", kind: "Popup", scrim: true, modal: true, className: "transitioner", width: "500px", components: [
             {content: "Pinnned v.1.0.0", style: "font-size: 26px; padding: 6px;"},
             {content: "Hand-crafted by Aaron Toth in Ontario, Canada", style: "font-size: 15px; padding: 6px;"},
             {content: "Licensed under the Apache License, Version 2.0", style: "font-size: 15px; padding: 6px; color: #999;"},
-            {kind: "HFlexBox", style: "padding-top: 15px;", components: [
-                {kind: "Button", flex: 1, caption: "Licence Information", onclick: "showLicense"},
-                {kind: "Button", flex: 1, caption: "OK", onclick: "aboutOk", className: "enyo-button-affirmative", isDefault: true}
-            ]}
+            {kind: "Button", flex: 1, caption: "Licence Information", onclick: "showLicense"},
+            {kind: "Button", flex: 1, caption: "Go to the Pinnned Website", onclick: "visitHomepage"},
+            {kind: "Button", flex: 1, caption: "OK", onclick: "aboutOk", className: "enyo-button-affirmative", isDefault: true}
         ]},
         {name: "accountUtilities", kind: "me.aaront.AccountUtilities"},
         {kind: "ApplicationEvents", onWindowActivated: "showOrBypassWelcomeView"}
         service.method = "open";
         service.call({target: "http://www.apache.org/licenses/LICENSE-2.0.txt"});
     },
+    visitHomepage: function() {
+        var service = new enyo.PalmService();
+        service.service = "palm://com.palm.applicationManager/";
+        service.method = "open";
+        service.call({target: "http://aaront.me/pinnned"});
+    },
+    reportProblem: function() {
+        var service = new enyo.PalmService();
+        service.service = "palm://com.palm.applicationManager/";
+        service.method = "open";
+        service.call({target: "http://getsatisfaction.com/aaron_toth/topics/new"});
+    },
     aboutOk: function() {
         this.$.aboutPopup.close();
     },

File source/services/bookmarks/DeliciousApi.js

         }
     },
     gotTags: function(inSender, inResponse, inRequest) {
-        console.log(inRequest);
         var xmldom = new DOMParser().parseFromString(inRequest.xhr.responseText, "text/xml");
         var tagsXml = xmldom.getElementsByTagName("tag");
         var tags = [];

File source/views/Main.js

         this.$.viewerPanel.resizePage();
     },
     tagInit: function(inSender) {
-        enyo.log(this);
         this.$.byTag.receiveAccountAndGetTags(this.currentState);
     },
     closePopup: function(inSender) {

File source/views/Preferences.js

     },
     deleteAccount: function(inSender, inEvent) {
         var index = parseInt(inEvent.dispatchTarget.container.components[0].name);
-        enyo.log(index);
         this.accounts.splice(index, 1);
         this.setupAccounts();
     },