mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-27 20:34:52 +00:00
doif.js: enhanced compatibility
git-svn-id: https://svn.fhem.de/fhem/trunk@15546 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
656d32c39f
commit
1366dc4d9a
@ -25,7 +25,12 @@ function doifUpdateCell(doifname,attrname,attrcont,content,style) {
|
|||||||
|
|
||||||
function doifTablePopUp(hash,name,doif,table) {
|
function doifTablePopUp(hash,name,doif,table) {
|
||||||
FW_cmd(FW_root+"?cmd={DOIF_RegisterEvalAll(\$defs{"+name+"},\""+name+"\",\""+table+"\")}&XHR=1", function(data){
|
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);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user