Hi,
I get two errors
Result of expression ‘this.fa()’ [undefined] is not an object.
Result of expression ‘this.getInput()’ [undefined] is not an object.
after updating to new touchui.js as it has fixes for edit mode and keyboard not coming up with IOS 5 etc.
Pages with gird work as expected but ones with textareas, labels give these error and do not render correctly.
Thanks
Please confirm that you are using latest version from
dhtmlx.com/x/download/regular/dhtmlxTouch.zip
‘this.fa()’ [
Is this call occurs inside lib, of from your custom code?
Hi,
I am using the latest files. And that error I get refers to touchui.js. I sent message with code if it helps debug. Like I said issue is with labels and text areas more of.
Thanks
Issue looks to be with custom control I shared with you in code.
data_label, if I change it with label or text atleast the page renders though there are CSS issues at my end which I would need to fix as we use custom CSS on top of touchui.css (which needs change after updating new libraries of touch)
Thanks
Please provide the code of data_label
OLD:
dhx.protoUI( {name:“data_label”,defaults: {
template:"
#label#
"
}
,Y:function() {
return this.i.firstChild
}
,V:function(a) {
this.g.label=a;
this.i.firstChild.innerHTML=a
}},dhx.ui.button);
NEW:
dhx.protoUI( {name:“data_label”,defaults: {
template:"
#label#
"
}
,focus:function(){ return false; },
_getBox:function(){
return this._dataobj.firstChild;
},
_setValue:function(value){
this._settings.label = value;
this._dataobj.firstChild.innerHTML = value;
},
_set_inner_size:function(){}
}, dhx.ui.button);
Also there is one more issue though I do not think this has anything to do with DHTMLX touch,
If I include my DHTMLX touch page into iframe copy paste etc dont work.
All I could find on net was reference to similar issue at
avportable.com/index.php?opt … sh&lang=es
Is there any work around for this issue ?
Thanks
Thanks Stanislav,
Do you have any suggestion for the copy paste issue ?