doif.js: enhanced compatibility
git-svn-id: https://svn.fhem.de/fhem/trunk@15546 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -25,7 +25,12 @@ function doifUpdateCell(doifname,attrname,attrcont,content,style) {
|
||||
|
||||
function doifTablePopUp(hash,name,doif,table) {
|
||||
FW_cmd(FW_root+"?cmd={DOIF_RegisterEvalAll(\$defs{"+name+"},\""+name+"\",\""+table+"\")}&XHR=1", function(data){
|
||||
FW_okDialog(data,$("[uitabid='DOIF-"+doif+"']"));
|
||||
var uit = $("[uitabid='DOIF-"+doif+"']");
|
||||
if(uit.html() !== undefined){
|
||||
FW_okDialog(data,uit);
|
||||
} else {
|
||||
FW_okDialog(data);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user