More Markdown refactoring - fixed bug with Pagedown not showing on user profile - replaced jQuery occurrences with $.

This commit is contained in:
Robin Ward
2013-03-05 15:39:21 -05:00
parent cf09e200a5
commit 86af49e663
43 changed files with 190 additions and 201 deletions
@@ -1,18 +1,18 @@
/**
This controller supports the interface for reviewing email logs.
@class AdminEmailLogsController
@class AdminEmailLogsController
@extends Ember.ArrayController
@namespace Discourse
@module Discourse
**/
**/
Discourse.AdminEmailLogsController = Ember.ArrayController.extend(Discourse.Presence, {
/**
Is the "send test email" button disabled?
@property sendTestEmailDisabled
**/
**/
sendTestEmailDisabled: (function() {
return this.blank('testEmailAddress');
}).property('testEmailAddress'),
@@ -25,7 +25,7 @@ Discourse.AdminEmailLogsController = Ember.ArrayController.extend(Discourse.Pres
sendTestEmail: function() {
var _this = this;
_this.set('sentTestEmail', false);
jQuery.ajax({
$.ajax({
url: '/admin/email_logs/test',
type: 'POST',
data: { email_address: this.get('testEmailAddress') },
@@ -35,5 +35,5 @@ Discourse.AdminEmailLogsController = Ember.ArrayController.extend(Discourse.Pres
});
return false;
}
});