mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
Select +Replies for bulk operations
This commit is contained in:
parent
dba1d79de2
commit
f157ec1f91
20 changed files with 282 additions and 77 deletions
|
@ -14,6 +14,10 @@ function integration(name) {
|
|||
});
|
||||
}
|
||||
|
||||
function testController(klass, model) {
|
||||
return klass.create({model: model, container: Discourse.__container__});
|
||||
}
|
||||
|
||||
function controllerFor(controller, model) {
|
||||
var controller = Discourse.__container__.lookup('controller:' + controller);
|
||||
if (model) { controller.set('model', model ); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue