mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 17:57:59 +01:00
'B' works now as it is supposed to do
This commit is contained in:
@@ -1480,10 +1480,26 @@ function bufshow(filter, in_comp_window)
|
||||
completion_show_list();
|
||||
}
|
||||
else // in the preview window
|
||||
{
|
||||
if(g_bufshow == true)
|
||||
{
|
||||
setTimeout(function ()
|
||||
{
|
||||
var items = get_buffer_completions(filter);
|
||||
preview_window_fill(items);
|
||||
preview_window_show();
|
||||
g_bufshow = true;
|
||||
preview_window.selectItem(preview_window.getItemAtIndex(gBrowser.mTabContainer.selectedIndex));
|
||||
}, 100);
|
||||
}
|
||||
else
|
||||
{
|
||||
var items = get_buffer_completions(filter);
|
||||
preview_window_fill(items);
|
||||
preview_window_show();
|
||||
g_bufshow = true;
|
||||
preview_window.selectItem(preview_window.getItemAtIndex(gBrowser.mTabContainer.selectedIndex));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -830,7 +830,7 @@ var buffer_changed_listener =
|
||||
else if(aFlag & Components.interfaces.nsIWebProgressListener.STATE_STOP)
|
||||
{
|
||||
//alert('stopchange');
|
||||
buffer_preview_update();
|
||||
//buffer_preview_update();
|
||||
}
|
||||
return 0;
|
||||
},
|
||||
@@ -838,7 +838,7 @@ var buffer_changed_listener =
|
||||
|
||||
// This fires when the location bar changes i.e load event is confirmed
|
||||
// or when the user switches tabs
|
||||
onLocationChange: function(aProgress, aRequest, aURI) { /*alert('locchange'); buffer_preview_update();*/ return 0; },
|
||||
onLocationChange: function(aProgress, aRequest, aURI) { /*alert('locchange');*/buffer_preview_update(); return 0; },
|
||||
onProgressChange:function(aWebProgress, aRequest, aCurSelfProgress, aMaxSelfProgress, aCurTotalProgress, aMaxTotalProgress){ return 0; },
|
||||
onStatusChange: function() {return 0;},
|
||||
onSecurityChange: function() {return 0;},
|
||||
|
||||
Reference in New Issue
Block a user