<div class="toolbar">\r
<div class="app_tools">\r
<ul class="main">\r
+ <li class="hiderightbar"><i class="icon-eye-close" title="Hide Members List"></i></li>\r
<li class="settings"><i class="icon-cogs" title="Settings"></i></li>\r
<li class="startup"><i class="icon-home" title="Home"></i></li>\r
<li><a href="https://kiwiirc.com/" target="_blank"><img src="<%base_path%>/assets/img/ico.png" alt="KiwiIRC" title="KiwiIRC" /></a></li>\r
_kiwi.view.AppToolbar = Backbone.View.extend({
events: {
'click .settings': 'clickSettings',
- 'click .startup': 'clickStartup'
+ 'click .startup': 'clickStartup' ,
+ 'click .hiderightbar': 'clickHideRightBar'
},
initialize: function () {
event.preventDefault();
_kiwi.app.startup_applet.view.show();
},
-});
\ No newline at end of file
+
+ clickHideRightBar: function (event) {
+ event.preventDefault();
+ $(".right_bar").toggle();
+ $(".memberlists_resize_handle").toggle();
+ _kiwi.app.view.doLayout();
+ }
+});