In an application I am trying to fix for IE 11 bugs, we have upgraded from 8.0 to the latest 9.1p version from earlier this week (2014-03-13).
When a button in an isc.DynamicForm is moused-over, we get a Javascript error.
Anyone got any idea on how to fix this?
Our Javascript error-catching shows it is on line 255 of system/modules/ISC_Core.js, and this error message below in the ISC console:
16:18:41.971:TMR2:WARN:Log:Error: Invalid argument.
Stack from error.stack:
Canvas._assignSize ()
Button._assignRectToHandle ()
Canvas._setHandleRect ()
Canvas.._adjustOverflow ()
Canvas._adjustOverflow ()
Canvas.adjustOverflow ()
Button.setTableClassName ()
Button.stateChanged ()
StatefulCanvas.setState ()
StatefulCanvas.handleMouseOver ()
This is the button's definition:
{
name : 'contactselect',
shouldSaveValue : false,
editorType : 'button',
title : 'Choose',
align : 'left',
textAlign : 'left',
titleAlign : 'left',
colspan : 1,
click : function(form, item, value) {
window.alert('contact select button click');
pickers.people.pick(function(record) {
var field = form.getField('contact');
// set picker data
field.setValueMap(pickers.people.getValueMap(record));
field.setValue(pickers.people.getValue(record));
// clear old record
field.record = null;
// remap
field.mapValueToDisplay(field.getValue());
});
},
startRow : false,
endRow : true
}
The click isn't happening - it dies on mouseover.
Here are the version details:
Browser Version: MS IE 11.0.9600.16521
SmartClient Version: v9.1p_2014-03-13/LGPL Deployment (built 2014-03-13)
We don't use the Java server/backend, just some PHP web-services.
When a button in an isc.DynamicForm is moused-over, we get a Javascript error.
Anyone got any idea on how to fix this?
Our Javascript error-catching shows it is on line 255 of system/modules/ISC_Core.js, and this error message below in the ISC console:
16:18:41.971:TMR2:WARN:Log:Error: Invalid argument.
Stack from error.stack:
Canvas._assignSize ()
Button._assignRectToHandle ()
Canvas._setHandleRect ()
Canvas.._adjustOverflow ()
Canvas._adjustOverflow ()
Canvas.adjustOverflow ()
Button.setTableClassName ()
Button.stateChanged ()
StatefulCanvas.setState ()
StatefulCanvas.handleMouseOver ()
This is the button's definition:
{
name : 'contactselect',
shouldSaveValue : false,
editorType : 'button',
title : 'Choose',
align : 'left',
textAlign : 'left',
titleAlign : 'left',
colspan : 1,
click : function(form, item, value) {
window.alert('contact select button click');
pickers.people.pick(function(record) {
var field = form.getField('contact');
// set picker data
field.setValueMap(pickers.people.getValueMap(record));
field.setValue(pickers.people.getValue(record));
// clear old record
field.record = null;
// remap
field.mapValueToDisplay(field.getValue());
});
},
startRow : false,
endRow : true
}
The click isn't happening - it dies on mouseover.
Here are the version details:
Browser Version: MS IE 11.0.9600.16521
SmartClient Version: v9.1p_2014-03-13/LGPL Deployment (built 2014-03-13)
We don't use the Java server/backend, just some PHP web-services.
Comment