mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 01:04:12 +01:00
Only show "Waiting..." message if wed otherwise show items (should maybe do the same for context.message); prefix window functions with "window."; general cleanup.
This commit is contained in:
@@ -49,7 +49,7 @@ function AutoCommands() //{{{
|
||||
"stringlist", "",
|
||||
{
|
||||
completer: function () config.autocommands.concat([["all", "All events"]]),
|
||||
validator: options.validateCompleter
|
||||
validator: Option.validateCompleter
|
||||
});
|
||||
|
||||
options.add(["focuscontent", "fc"],
|
||||
@@ -808,7 +808,7 @@ function Events() //{{{
|
||||
// make sure the page is stopped before starting to play the macro
|
||||
try
|
||||
{
|
||||
getWebNavigation().stop(nsIWebNavigation.STOP_ALL);
|
||||
window.getWebNavigation().stop(nsIWebNavigation.STOP_ALL);
|
||||
}
|
||||
catch (e) {}
|
||||
|
||||
@@ -1321,13 +1321,13 @@ function Events() //{{{
|
||||
// {
|
||||
// //alert(command_line.value.substring(0, command_line.selectionStart));
|
||||
// command_line.value = command_line.value.substring(0, command_line.selectionStart) +
|
||||
// readFromClipboard() +
|
||||
// window.readFromClipboard() +
|
||||
// command_line.value.substring(command_line.selectionEnd, command_line.value.length);
|
||||
// alert(command_line.value);
|
||||
// }
|
||||
// //else
|
||||
// // {
|
||||
// // openURLs(readFromClipboard());
|
||||
// // openURLs(window.readFromClipboard());
|
||||
// // }
|
||||
// return true;
|
||||
// } }}}
|
||||
|
||||
Reference in New Issue
Block a user