Project

General

Profile

1811o_web_chui_client.txt

Sergey Ivanovskiy, 08/11/2015 08:11 AM

Download (2.05 KB)

 
1
=== modified file 'src/com/goldencode/p2j/ui/client/chui/driver/web/res/p2j.clipboard_helpers.js'
2
--- src/com/goldencode/p2j/ui/client/chui/driver/web/res/p2j.clipboard_helpers.js	2015-08-07 20:47:38 +0000
3
+++ src/com/goldencode/p2j/ui/client/chui/driver/web/res/p2j.clipboard_helpers.js	2015-08-11 11:34:21 +0000
4
@@ -71,11 +71,11 @@
5
       
6
       var settings = 
7
       {
8
-         id = cfg.clipboard.id,
9
-         contextmenu = "menu-id",
10
-         width = p2j.screen.canvasWidth,
11
-         height = p2j.screen.canvasHeight,
12
-         style = { zIndex = 1, position = "absolute" }
13
+         id : cfg.clipboard.id,
14
+         contextmenu : "menu-id",
15
+         width : p2j.screen.canvasWidth,
16
+         height : p2j.screen.canvasHeight,
17
+         style : { zIndex : 1, position : "absolute" }
18
       };
19
 
20
       canvas = p2j.createCanvas(null, settings);
21
@@ -94,13 +94,13 @@
22
       require(["dijit/Menu", "dijit/MenuItem", "dijit/CheckedMenuItem", "dijit/MenuSeparator", "dijit/PopupMenuItem"], 
23
       function(Menu, MenuItem, CheckedMenuItem, MenuSeparator, PopupMenuItem)
24
       {   
25
-         pMenu = new dijit.Menu(
26
+         var pMenu = new dijit.Menu(
27
          {
28
             targetNodeIds:[cfg.clipboard.id]
29
          });
30
 
31
          // select 
32
-         pMenuSelect = new dijit.CheckedMenuItem(
33
+         var pMenuSelect = new dijit.CheckedMenuItem(
34
          {
35
             iconClass:"dijitEditorIcon dijitEditorIconSelectAll",
36
             label: "Enable Clipboard",
37

    
38
=== modified file 'src/com/goldencode/p2j/ui/client/chui/driver/web/res/p2j.screen.js'
39
--- src/com/goldencode/p2j/ui/client/chui/driver/web/res/p2j.screen.js	2015-08-07 20:47:38 +0000
40
+++ src/com/goldencode/p2j/ui/client/chui/driver/web/res/p2j.screen.js	2015-08-11 11:19:37 +0000
41
@@ -391,9 +391,9 @@
42
       
43
       var settings = 
44
       {
45
-         id = "pwindow_1",
46
-         tabindex = 1,
47
-         style = { zIndex = 0, position = "absolute" }
48
+         id : "pwindow_1",
49
+         tabindex : 1,
50
+         style : { zIndex : 0, position : "absolute" }
51
       };
52
 
53
       canvas = p2j.createCanvas(null, settings);
54