SmartGWT version: 4.0p24012014, 4.0p2501204 +, 4.1d25012014
OS: Ubuntu 12.04 LTS x64
Firefox: 26
Chromium: 31.0.1650.63 Ubuntu 12.04
I've spent few hours on figuring out why my app does not work on Firefox. The issue was related with adding a TreeGrid or ListGrid as a member to stack layout, but few times it was in a really simple case when only IButton was drawn in onModuleLoad
Stacktrace:
After investigating deeper and debugging ISC_Core.js code I've figured out that it was related with:
In Firefox
was creating valid object, but later on in
inserted element couldn't be found:
I've resolved this issue by setting
to false...
OS: Ubuntu 12.04 LTS x64
Firefox: 26
Chromium: 31.0.1650.63 Ubuntu 12.04
I've spent few hours on figuring out why my app does not work on Firefox. The issue was related with adding a TreeGrid or ListGrid as a member to stack layout, but few times it was in a really simple case when only IButton was drawn in onModuleLoad
Stacktrace:
Code:
fileName: http://localhost:8087/resources/js/sc/modules/ISC_Core.js
lineNumber: 1450
columnNumber: 0: this.$x6 is null
at Unknown.isc_c_Element__deriveStyleProperties(Unknown Source)
at Unknown.isc_c_Element_getStyleEdges(Unknown Source)
at Unknown.isc_c_Element__calculatePadding(Unknown Source)
at Unknown.isc_c_Element__getLeftPadding(Unknown Source)
at Unknown.isc_Canvas__calculatePadding(Unknown Source)
at Unknown.isc_Layout_setLayoutMargin(Unknown Source)
at Unknown.isc_Layout_initWidget(Unknown Source)
at Unknown.isc_c_Class_invokeSuper(Unknown Source)
at Unknown.isc_c_Class_Super(Unknown Source)
at Unknown.isc_ListGrid_initWidget(Unknown Source)
at Unknown.isc_c_Class_invokeSuper(Unknown Source)
at Unknown.isc_TreeGrid_initWidget(Unknown Source)
at Unknown.isc_Canvas_init(Unknown Source)
at Unknown.isc_Class_completeCreation(Unknown Source)
at Unknown.isc_c_Class_create(Unknown Source)
at Unknown.com_smartgwt_client_widgets_tree_TreeGrid_create__Lcom_google_gwt_core_client_JavaScriptObject_2(Unknown Source)
at Unknown.com_smartgwt_client_widgets_BaseWidget_$getOrCreateJsObj__Lcom_smartgwt_client_widgets_BaseWidget_2Lcom_google_gwt_core_client_JavaScriptObject_2(Unknown Source)
at Unknown.com_smartgwt_client_widgets_layout_Layout_$addMember__Lcom_smartgwt_client_widgets_layout_Layout_2Lcom_smartgwt_client_widgets_Canvas_2V(Unknown Source)
at Unknown.com_smartgwt_client_widgets_layout_Layout_addMember__Lcom_smartgwt_client_widgets_Canvas_2V(Unknown Source)
at Unknown.oo_ooo_gwt_client_mymodule_MainScreen_MainScreen__V(Unknown Source)Code:
isc.A.insertAdjacentHTML = function isc_c_Element_insertAdjacentHTML(_1, _2, _3, _4) {
...
if (isc.Browser.useInsertAdjacentHTML) {
..
_1.insertAdjacentHTML(_2, _3);Code:
_1.insertAdjacentHTML(_2, _3)Code:
isc.A.$x5 = function isc_c_Element__deriveStyleProperties(_1, _2)Code:
this.$x6 = isc.Element.get("isc_cellStyleTester");Code:
isc.Browser.useInsertAdjacentHTML