Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ben on Feb 05, 2009 09:27
open dhtmlx forum
permission denied in windows

Using a window, attaching a grid we get:
Permission denied to get property XULElement.accessibleType
dhtmlxwindows.js
Line 86

cells()(div.dhtmlx_window_active)dhtmlxwindows.js (line 86)
setSkin()("user_id_window", 50, 50, 500, 300)dhtmlxwindows.js (line 35)
user_id_load_window()admin_or...gory_id=2 (line 189)
onclick(click clientX=441, clientY=251)admin_or...TaA%3D%3D (line 2)
[Break on this error] this.tabbar.adjustOuterSize();this.tabb...st[1])}}};this.dhx_Event();return this};

Answer posted by Support on Feb 06, 2009 03:01
Could you please provide more source code?
Answer posted on Feb 09, 2009 07:21
if (win._keepInViewport) { // keep strongly in viewport
1656 if (win.x < 0) { win.x = 0; }
1657 if (win.x + win.w > this.vp.offsetWidth) { win.x = this.vp.offsetWidth - win.w; }
1658 // if (win.y < 0) { win.y = 0; }
1659 if (win.y + win.h > this.vp.offsetHeight) { win.y = this.vp.offsetHeight - win.h; }
1660 if (win.y < 0) { win.y = 0; }
1661 } else {
1662 // if (win.y < 0) { win.y = 0; }
1663 if (win.y + skin["header_height"] > this.vp.offsetHeight) { win.y = this.vp.offsetHeight - skin["header_height"]; }
1664 if (win.y < 0) { win.y = 0; }
1665 if (win.x + win.w - 10 < 0) { win.x = 10 - win.w; }
1666 if (win.x > this.vp.offsetWidth - 10) { win.x = this.vp.offsetWidth - 10; }
1667 }

It says line 1663 permission denied.

Permission denied to get property XULElement.accessibleType
createWindow()("longitude_window", 50, 50, 315, 340)dhtmlxwindows.js (line 387)
longitude_load_window()admin_li...dit&id=18 (line 22)
onclick(click clientX=743, clientY=327)admin_li...NgQ%3D%3D (line 2)
if (win.y + skin["header_height"] > t....offsetHeight - skin["header_height"]; }

Answer posted by Alex (support) on Feb 10, 2009 01:36

Dear Ben, 

Please, check the sample http://dhtmlx.com/docs/products/dhtmlxWindows/samples/components/grid.html

Unfortunately, the code from dhtmlxwindow.js is not enough to reproduce the issue.

We have meant that we need the code of window and grid initialization (the full sample is the better).

Could you please provide it ? (if you decide to send the sample, please send it at support@dhtmlx.com)