VRFS-390 toggle off search results when mouse leaves sidebar area
This commit is contained in:
parent
13db90d836
commit
d505456bb4
|
|
@ -357,6 +357,11 @@
|
|||
hideSearchResults();
|
||||
});
|
||||
|
||||
$('#sidebar-div').mouseleave(function(evt) {
|
||||
logger.debug("onblur executing");
|
||||
return hideSearchResults();
|
||||
});
|
||||
|
||||
// wire up FRIEND_UPDATE handler
|
||||
context.JK.JamServer.registerMessageCallback(context.JK.MessageType.FRIEND_UPDATE, function(header, payload) {
|
||||
logger.debug("Handling FRIEND_UPDATE msg " + JSON.stringify(payload));
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ class ApiMaxmindRequestsController < ApiController
|
|||
if cities && cities.length > 0
|
||||
render :json => { :cities => cities }, :status => 200
|
||||
else
|
||||
render :json => { :message => "Unrecognzied country or region" }, :status => 422
|
||||
render :json => { :message => "Unrecognized country or region" }, :status => 422
|
||||
end
|
||||
end
|
||||
|
||||
|
|
@ -25,7 +25,7 @@ class ApiMaxmindRequestsController < ApiController
|
|||
if isps && isps.length > 0
|
||||
render :json => { :isps => isps }, :status => 200
|
||||
else
|
||||
render :json => { :message => "Unrecognzied Country" }, :status => 422
|
||||
render :json => { :message => "Unrecognized Country" }, :status => 422
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<div layout="sidebar" class="sidebar" style="display:none;">
|
||||
<div id="sidebar-div" layout="sidebar" class="sidebar" style="display:none;">
|
||||
<div layout-sidebar-expander="visible" class="expander visible">
|
||||
<p>
|
||||
<%= image_tag "sidebar/expand_arrows_right.jpg" %>
|
||||
|
|
|
|||
Loading…
Reference in New Issue