VRFS-274 more sidebar updates

This commit is contained in:
Brian Smith 2013-03-09 22:00:34 -05:00
parent 7cbd5b4e76
commit c40460e3fb
3 changed files with 19 additions and 7 deletions

View File

@ -6,7 +6,7 @@
context.JK.Sidebar = function(app) {
var logger = context.JK.logger;
function populateFriendsPanel() {
function initializeFriendsPanel() {
$('#sidebar-search-header').hide();
@ -69,6 +69,14 @@
return false;
}
function initializeNotificationsPanel() {
}
function initializeChatPanel() {
}
// TODO: same code is in searchResults.js - REFACTOR
function search(query) {
@ -194,9 +202,10 @@
this.initialize = function() {
events();
populateFriendsPanel();
initializeFriendsPanel();
initializeChatPanel();
initializeNotificationsPanel();
};
};
})(window,jQuery);

View File

@ -213,7 +213,6 @@
}
.result {
width:270px;
display:block;
position:relative;
border-bottom:solid 1px #01545f;
@ -233,14 +232,17 @@
}
.results-wrapper {
width: 270px;
width: 300px;
overflow-y:auto;
overflow-x:hidden;
}
.sidebar-search-connected {
text-align:center;
vertical-align:middle;
background-color:#4c4c4c;
height:100%;
padding-bottom:10px;
font-size:11px;
}
}

View File

@ -33,9 +33,10 @@
<option>Recordings</option>
</select>
</div>
<div class="result"></div>
</div>
</div>
<div style="clear:both;"></div><br />
<div class="result"></div>
<div id="sidebar-search-results" class="results-wrapper">
</div>
</div>