1811q_20150915_1.txt
1 |
=== modified file 'src/com/goldencode/p2j/ui/client/gui/driver/web/res/p2j.mouse.js' |
---|---|
2 |
--- src/com/goldencode/p2j/ui/client/gui/driver/web/res/p2j.mouse.js 2015-09-10 17:38:10 +0000 |
3 |
+++ src/com/goldencode/p2j/ui/client/gui/driver/web/res/p2j.mouse.js 2015-09-15 15:54:41 +0000 |
4 |
@@ -77,6 +77,9 @@ |
5 |
return; |
6 |
} |
7 |
|
8 |
+ // to request the input focus to this window |
9 |
+ win.canvas.focus(); |
10 |
+ |
11 |
if (p2j.screen.topWindowId() == win.id) |
12 |
{ |
13 |
return; |
14 |
|
15 |
=== modified file 'src/com/goldencode/p2j/ui/client/gui/driver/web/res/p2j.screen.js' |
16 |
--- src/com/goldencode/p2j/ui/client/gui/driver/web/res/p2j.screen.js 2015-09-13 22:51:40 +0000 |
17 |
+++ src/com/goldencode/p2j/ui/client/gui/driver/web/res/p2j.screen.js 2015-09-15 15:54:41 +0000 |
18 |
@@ -160,6 +160,8 @@ |
19 |
options.width = options.width || 400; |
20 |
options.height = options.width || 600; |
21 |
options.style = options.style || { }; |
22 |
+ // to make a window can be focused |
23 |
+ options.tabIndex = options.tabIndex || 1; |
24 |
|
25 |
// this must always be set so that the canvas element is removed from the normal layout |
26 |
// processing of the document |
27 |
|