mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
2bc8bc7cfd
git-svn-id: https://svn.fhem.de/fhem/trunk@15353 2b470e98-0d58-463d-a4d8-8e2adae1ed80
14 lines
456 B
JavaScript
14 lines
456 B
JavaScript
|
|
FW_version["doif.js"] = "$Id$";
|
|
|
|
function doifUpdateCell(doifname,attrname,attrcont,content,style) {
|
|
$("table[uitabid='DOIF-"+doifname+"']").find("div["+attrname+"='"+attrcont+"']").each(function() {
|
|
if(this.setValueFn) { // change widget value
|
|
this.setValueFn(content.replace(/\n/g, '\u2424'));
|
|
} else {
|
|
$(this).html(content+"");
|
|
if(style)
|
|
$(this).attr("style",style);
|
|
}
|
|
});
|
|
} |