mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 00:24:13 +01:00
Fix rangefinder search history issue.
This commit is contained in:
@@ -399,14 +399,13 @@ var CommandMode = Class("CommandMode", {
|
||||
return true; /* Pass event */
|
||||
},
|
||||
|
||||
onCancel: function (value) {
|
||||
},
|
||||
onCancel: function (value) {},
|
||||
|
||||
onChange: function (value) {
|
||||
},
|
||||
onChange: function (value) {},
|
||||
|
||||
onSubmit: function (value) {
|
||||
},
|
||||
onHistory: function (value) {},
|
||||
|
||||
onSubmit: function (value) {},
|
||||
|
||||
resetCompletions: function resetCompletions() {
|
||||
if (this.completions) {
|
||||
@@ -941,6 +940,7 @@ var CommandLine = Module("commandline", {
|
||||
if (this.completions)
|
||||
this.completions.previewClear();
|
||||
this.input.value = val;
|
||||
this.session.onHistory(val);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user