Speech bubble waiting for an ajax response prior to rendering

This commit is contained in:
Arpit Jalan
2014-05-09 22:23:27 +05:30
parent aa9a8aa217
commit 93cff8deb5
7 changed files with 46 additions and 20 deletions

View File

@ -17,7 +17,9 @@ module("Discourse.NotificationsController", {
return [scope, options.username, options.link].join(" ").trim();
});
controller = Discourse.NotificationsController.create();
controller = Discourse.NotificationsController.create({
container: Discourse.__container__
});
view = Ember.View.create({
container: Discourse.__container__,