From 1b2c48a2623b2c8928f228f6d3aab42996b02229 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Mon, 4 Dec 2017 20:01:08 +0000 Subject: [PATCH] fhemweb.js: remove inactive code git-svn-id: https://svn.fhem.de/fhem/trunk@15554 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/www/pgm2/fhemweb.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/fhem/www/pgm2/fhemweb.js b/fhem/www/pgm2/fhemweb.js index 268362836..f76ac1c0b 100644 --- a/fhem/www/pgm2/fhemweb.js +++ b/fhem/www/pgm2/fhemweb.js @@ -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;