+ },
+ loggedIn: function() {
+ this.$.postButton.setDisabled(false);
+ this.$.loginReminder.hide();
+ },
+ loggedOut: function() {
+ this.$.postButton.setDisabled(true);
+ this.$.loginReminder.show();
+ },
+ showHelp: function() {
+ this.$.helpContent.show();
+ this.$.showHelpLink.hide();
+ this.$.hideHelpLink.show();
+ if (this.$.helpContent.getContent() == '') {
+ var req = new enyo.Ajax({
+ url: baseURL + '/doc/post_help.html',
+ handleAs: 'text'
+ });
+ req.response(function(inSender, inResponse) {
+ this.$.helpContent.setContent(inResponse);
+ }.bind(this));
+ req.go();
+ }
+ },
+ hideHelp: function() {
+ this.$.helpContent.hide();
+ this.$.showHelpLink.show();
+ this.$.hideHelpLink.hide();