mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 20:07:59 +01:00
'B' works now as it is supposed to do
This commit is contained in:
@@ -1481,9 +1481,25 @@ function bufshow(filter, in_comp_window)
|
|||||||
}
|
}
|
||||||
else // in the preview window
|
else // in the preview window
|
||||||
{
|
{
|
||||||
var items = get_buffer_completions(filter);
|
if(g_bufshow == true)
|
||||||
preview_window_fill(items);
|
{
|
||||||
preview_window_show();
|
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)
|
else if(aFlag & Components.interfaces.nsIWebProgressListener.STATE_STOP)
|
||||||
{
|
{
|
||||||
//alert('stopchange');
|
//alert('stopchange');
|
||||||
buffer_preview_update();
|
//buffer_preview_update();
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
},
|
},
|
||||||
@@ -838,7 +838,7 @@ var buffer_changed_listener =
|
|||||||
|
|
||||||
// This fires when the location bar changes i.e load event is confirmed
|
// This fires when the location bar changes i.e load event is confirmed
|
||||||
// or when the user switches tabs
|
// 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; },
|
onProgressChange:function(aWebProgress, aRequest, aCurSelfProgress, aMaxSelfProgress, aCurTotalProgress, aMaxTotalProgress){ return 0; },
|
||||||
onStatusChange: function() {return 0;},
|
onStatusChange: function() {return 0;},
|
||||||
onSecurityChange: function() {return 0;},
|
onSecurityChange: function() {return 0;},
|
||||||
|
|||||||
Reference in New Issue
Block a user