2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

fhemweb.js: remove inactive code

git-svn-id: https://svn.fhem.de/fhem/trunk@15554 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-12-04 20:01:08 +00:00
parent 8e42527624
commit 1b2c48a262

View File

@ -142,20 +142,6 @@ FW_jqueryReadyFn()
});
});
// Replace the FORM-POST in detail-view by XHR
/* Inactive, as Internals and Attributes arent auto updated.
$("form input[type=submit]").click(function(e) {
var cmd = "";
$(this).parent().find("[name]").each(function() {
cmd += (cmd?"&":"")+$(this).attr("name")+"="+$(this).val();
});
if(cmd.indexOf("detail=") < 0)
return;
e.preventDefault();
FW_cmd(FW_root+"?"+cmd+"&XHR=1");
});
*/
$("form input.get[type=submit]").click(function(e) { //"get" via XHR to dialog
e.preventDefault();
var cmd = "", el=this;