mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
looking for a focus bug in _request_execute
This commit is contained in:
parent
020074621e
commit
3fb3ddce73
1 changed files with 6 additions and 0 deletions
|
@ -1367,6 +1367,7 @@ case "_request_execute":
|
||||||
// our places
|
// our places
|
||||||
if (places[t]) {
|
if (places[t]) {
|
||||||
vSet("place", place = t);
|
vSet("place", place = t);
|
||||||
|
PT(("REQ-EX place %O\n", t))
|
||||||
} else {
|
} else {
|
||||||
// see if it is a local object
|
// see if it is a local object
|
||||||
object o = psyc_object(t);
|
object o = psyc_object(t);
|
||||||
|
@ -1375,9 +1376,11 @@ case "_request_execute":
|
||||||
if (o && places[o]) {
|
if (o && places[o]) {
|
||||||
place = o;
|
place = o;
|
||||||
vSet("place", o->qName());
|
vSet("place", o->qName());
|
||||||
|
PT(("REQ-EX object %O\n", o))
|
||||||
} else unless (t2) {
|
} else unless (t2) {
|
||||||
// must be a person then
|
// must be a person then
|
||||||
// ME->parsecmd(data, t);
|
// ME->parsecmd(data, t);
|
||||||
|
PT(("REQ-EX person %O\n", t))
|
||||||
parsecmd(data, t);
|
parsecmd(data, t);
|
||||||
// should be able to put o||t
|
// should be able to put o||t
|
||||||
// here.. TODO
|
// here.. TODO
|
||||||
|
@ -1385,6 +1388,9 @@ case "_request_execute":
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
PT(("REQ-EX non-string %O\n", t))
|
||||||
|
}
|
||||||
// ME->parsecmd(data);
|
// ME->parsecmd(data);
|
||||||
if (t2) {
|
if (t2) {
|
||||||
unless (request(source, t2, vars, data)) {
|
unless (request(source, t2, vars, data)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue