Bug 235648 - Keep correct view when re-dispatching unknown commands.
r=rginda@hacksrus.com git-svn-id: svn://10.0.0.236/trunk@153793 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a23d90839d
commit
3092a5708e
@ -293,8 +293,10 @@ function dispatch(text, e, isInteractive, flags)
|
||||
if (e.server && e.server.isConnected &&
|
||||
client.prefs["guessCommands"])
|
||||
{
|
||||
return dispatch("quote", {inputData: e.commandText + " " +
|
||||
e.inputData});
|
||||
/* Want to keep the source details. */
|
||||
var e2 = getObjectDetails(e.sourceObject);
|
||||
e2.inputData = e.commandText + " " + e.inputData;
|
||||
return dispatch("quote", e2);
|
||||
}
|
||||
|
||||
display(getMsg(MSG_NO_CMDMATCH, e.commandText), MT_ERROR);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user