diff options
author | levinse <levinse> | 2011-01-23 00:49:12 +0000 |
---|---|---|
committer | levinse <levinse> | 2011-01-23 00:49:12 +0000 |
commit | fde8ce7591cfe115dc12b9d5ea9ff896228a81e0 (patch) | |
tree | 6a5ded5ec023dbc0d8eaa1ee01128fcf3bff0c45 /httemplate/edit | |
parent | 61fbcfa109b5cc8e0eeff08fcd086164ee640904 (diff) |
bug fix my previous commit for RT7794
Diffstat (limited to 'httemplate/edit')
-rw-r--r-- | httemplate/edit/phone_device.html | 2 | ||||
-rw-r--r-- | httemplate/edit/process/phone_device.html | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/edit/phone_device.html b/httemplate/edit/phone_device.html index c42e714e2..4aec63e5a 100644 --- a/httemplate/edit/phone_device.html +++ b/httemplate/edit/phone_device.html @@ -95,6 +95,8 @@ $js .= "\"); } } + + devicepart_changed(document.getElementById('devicepart')); </SCRIPT>"; $js; diff --git a/httemplate/edit/process/phone_device.html b/httemplate/edit/process/phone_device.html index df9d5e793..689a65ede 100644 --- a/httemplate/edit/process/phone_device.html +++ b/httemplate/edit/process/phone_device.html @@ -10,6 +10,10 @@ %> <%init> +if($cgi->param('sel_mac_addr') && !$cgi->param('mac_addr')) { + $cgi->param('mac_addr',$cgi->param('sel_mac_addr')); +} + # :/ needs agent-virt so you can't futz with arbitrary devices die "access denied" |