Merge branch 'release/release/v.0.0.99'
This commit is contained in:
commit
6a4536c877
@ -1,3 +1,5 @@
|
|||||||
|
-0.0.99
|
||||||
|
- check webcam initialization ( start only , when https..)
|
||||||
-0.0.98
|
-0.0.98
|
||||||
- frontend - add disable/enable doorlog in reception
|
- frontend - add disable/enable doorlog in reception
|
||||||
-0.0.97
|
-0.0.97
|
||||||
|
|||||||
@ -5,7 +5,7 @@ return [
|
|||||||
'supportEmail' => 'rocho02@gmail.com',
|
'supportEmail' => 'rocho02@gmail.com',
|
||||||
'infoEmail' => 'info@rocho-net.hu',
|
'infoEmail' => 'info@rocho-net.hu',
|
||||||
'user.passwordResetTokenExpire' => 3600,
|
'user.passwordResetTokenExpire' => 3600,
|
||||||
'version' => 'v0.0.98',
|
'version' => 'v0.0.99',
|
||||||
'company' => 'movar',//gyor
|
'company' => 'movar',//gyor
|
||||||
'company_name' => "Freimann Kft.",
|
'company_name' => "Freimann Kft.",
|
||||||
'product_visiblity' => 'account',// on reception which products to display. account or global
|
'product_visiblity' => 'account',// on reception which products to display. account or global
|
||||||
|
|||||||
@ -10,22 +10,30 @@ function Customer(o){
|
|||||||
function init(){
|
function init(){
|
||||||
|
|
||||||
defaults = $.extend(defaults,o);
|
defaults = $.extend(defaults,o);
|
||||||
|
var url = location.href;
|
||||||
|
var initCamera;
|
||||||
|
console.info(url);
|
||||||
|
if ( url.indexOf("https") >= 0){
|
||||||
|
initCamera = true;
|
||||||
|
}else if ( url.indexOf("localhost") >= 0 ){
|
||||||
|
initCamera = true;
|
||||||
|
}
|
||||||
|
if ( initCamera ){
|
||||||
Webcam.set({
|
Webcam.set({
|
||||||
width: 160,
|
width: 160,
|
||||||
height: 120,
|
height: 120,
|
||||||
dest_width: 320,
|
dest_width: 320,
|
||||||
dest_height: 240,
|
dest_height: 240,
|
||||||
image_format: 'jpeg',
|
image_format: 'jpeg',
|
||||||
jpeg_quality: 90,
|
jpeg_quality: 90
|
||||||
// force_flash: false,
|
|
||||||
// flip_horiz: true,
|
|
||||||
// fps: 45
|
|
||||||
});
|
});
|
||||||
|
|
||||||
Webcam.attach( '#my_camera' );
|
Webcam.attach( '#my_camera' );
|
||||||
|
|
||||||
$("#snap").click(snap);
|
$("#snap").click(snap);
|
||||||
|
}else{
|
||||||
|
$("#snap").hide();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
preventSubmit( '#customerupdate-replacementcardnumber' );
|
preventSubmit( '#customerupdate-replacementcardnumber' );
|
||||||
preventSubmit( '#customercreate-cardnumber' );
|
preventSubmit( '#customercreate-cardnumber' );
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user