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
1 changed files with 2 additions and 4 deletions

View File

@ -658,9 +658,7 @@
//qr code generation
$_GET['type'] = "text";
$qr_vcard = true;
include "contacts_vcard.php";
echo "<input type='hidden' id='qr_vcard' value=\"".escape($xml)."\">";
echo "<input type='hidden' id='qr_card' value=\"".escape($xml)."\">";
echo "<style>";
echo " #qr_code_container {";
echo " z-index: 999999; ";
@ -699,7 +697,7 @@
echo " mPosX: 0.5, ";
echo " mPosY: 0.5, ";
echo " image: $('#img-buffer')[0], ";
echo " text: document.getElementById('qr_vcard').value ";
echo " text: document.getElementById('qr_card').value ";
echo " });";
echo " });";
echo " });";