Update device_edit.php

This commit is contained in:
FusionPBX
2018-08-18 21:40:06 -06:00
committed by GitHub
parent c338ef6e4d
commit eb827ff7d6
+2 -4
View File
@@ -658,9 +658,7 @@
//qr code generation //qr code generation
$_GET['type'] = "text"; $_GET['type'] = "text";
$qr_vcard = true; echo "<input type='hidden' id='qr_card' value=\"".escape($xml)."\">";
include "contacts_vcard.php";
echo "<input type='hidden' id='qr_vcard' value=\"".escape($xml)."\">";
echo "<style>"; echo "<style>";
echo " #qr_code_container {"; echo " #qr_code_container {";
echo " z-index: 999999; "; echo " z-index: 999999; ";
@@ -699,7 +697,7 @@
echo " mPosX: 0.5, "; echo " mPosX: 0.5, ";
echo " mPosY: 0.5, "; echo " mPosY: 0.5, ";
echo " image: $('#img-buffer')[0], "; echo " image: $('#img-buffer')[0], ";
echo " text: document.getElementById('qr_vcard').value "; echo " text: document.getElementById('qr_card').value ";
echo " });"; echo " });";
echo " });"; echo " });";
echo " });"; echo " });";