Reputation: 1867
I would like to have two-panel filemanager like mc or total commander. Do I have to create two different controllers with same functionality?
Upvotes: 0
Views: 134
Reputation: 20724
Probably you can just use two instances of the same controller. Something like:
new App.FileManager({el: $('#panel_left')});
new App.FileManager({el: $('#panel_right')});
Obviously, it's just a general idea.
Upvotes: 1