mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +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:
parent
8e42527624
commit
1b2c48a262
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user