mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
Fixed issue with Web command mode auto-complete.
This commit is contained in:
parent
bffedb695d
commit
85b8b99f98
@ -14,7 +14,7 @@ namespace Remotely_Library.Models
|
||||
|
||||
[Display(Name = "Web Shortcut")]
|
||||
[StringLength(10)]
|
||||
public string CommandModeShortcutRemotely { get; set; } = "/web";
|
||||
public string CommandModeShortcutWeb { get; set; } = "/web";
|
||||
[Display(Name = "PS Core Shortcut")]
|
||||
[StringLength(10)]
|
||||
public string CommandModeShortcutPSCore { get; set; } = "/pscore";
|
||||
|
||||
@ -32,11 +32,11 @@
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label asp-for="Options.CommandModeShortcutRemotely" class="control-label"></label>
|
||||
<label asp-for="Options.CommandModeShortcutWeb" class="control-label"></label>
|
||||
<br />
|
||||
<input asp-for="Options.CommandModeShortcutRemotely" class="form-control" />
|
||||
<input asp-for="Options.CommandModeShortcutWeb" class="form-control" />
|
||||
<br />
|
||||
<span asp-validation-for="Options.CommandModeShortcutRemotely"></span>
|
||||
<span asp-validation-for="Options.CommandModeShortcutWeb"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="Options.CommandModeShortcutPSCore" class="control-label"></label>
|
||||
|
||||
@ -1 +1 @@
|
||||
2019.03.25.1026
|
||||
2019.03.25.1255
|
||||
|
||||
@ -60,7 +60,7 @@ export function GetRelevantCommandText(commandText) {
|
||||
export function GetCommandModeShortcut() {
|
||||
switch (UI.ConsoleTextArea.value.toLowerCase()) {
|
||||
case UserSettings.CommandModeShortcuts.Web:
|
||||
return "Remotely";
|
||||
return "Web";
|
||||
case UserSettings.CommandModeShortcuts.CMD:
|
||||
return "CMD";
|
||||
case UserSettings.CommandModeShortcuts.PSCore:
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -64,7 +64,7 @@ export function GetRelevantCommandText(commandText:string) {
|
||||
export function GetCommandModeShortcut() {
|
||||
switch (UI.ConsoleTextArea.value.toLowerCase()) {
|
||||
case UserSettings.CommandModeShortcuts.Web:
|
||||
return "Remotely";
|
||||
return "Web";
|
||||
case UserSettings.CommandModeShortcuts.CMD:
|
||||
return "CMD";
|
||||
case UserSettings.CommandModeShortcuts.PSCore:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user