@@ -13460,7 +13460,9 @@ dependencyScope.jQuery = $;;
1346013460
1346113461 // make sure we have a result and send the activity
1346213462 if ( $ . isPlainObject ( values ) && $ . isPlainObject ( values . user ) && $ . isPlainObject ( values . utmData ) ) {
13463- Breinify . activity ( values . user , 'utmData' , null , null , values . utmData , null ) ;
13463+ Breinify . activity ( values . user , 'utmData' , null , null , values . utmData , null , function ( ) {
13464+ // nothing to do
13465+ } ) ;
1346413466 }
1346513467 } ,
1346613468
@@ -13716,27 +13718,27 @@ dependencyScope.jQuery = $;;
1371613718
1371713719 overload . overload ( {
1371813720 'Object,String' : function ( user , type ) {
13719- Breinify . activityUser ( user , type , null , null , null , false , function ( data ) {
13721+ Breinify . activityUser ( user , type , null , null , null , null , function ( data ) {
1372013722 _privates . ajax ( url , data ) ;
1372113723 } ) ;
1372213724 } ,
1372313725 'Object,String,Object' : function ( user , type , tags ) {
13724- Breinify . activityUser ( user , type , null , null , tags , false , function ( data ) {
13726+ Breinify . activityUser ( user , type , null , null , tags , null , function ( data ) {
1372513727 _privates . ajax ( url , data ) ;
1372613728 } ) ;
1372713729 } ,
1372813730 'Object,String,String,Object' : function ( user , type , description , tags ) {
13729- Breinify . activityUser ( user , type , null , description , tags , false , function ( data ) {
13731+ Breinify . activityUser ( user , type , null , description , tags , null , function ( data ) {
1373013732 _privates . ajax ( url , data ) ;
1373113733 } ) ;
1373213734 } ,
1373313735 'Object,String,String,String,Object' : function ( user , type , category , description , tags ) {
13734- Breinify . activityUser ( user , type , category , description , tags , false , function ( data ) {
13736+ Breinify . activityUser ( user , type , category , description , tags , null , function ( data ) {
1373513737 _privates . ajax ( url , data ) ;
1373613738 } ) ;
1373713739 } ,
1373813740 'Object,String,String,String,Object,Function' : function ( user , type , category , description , tags , callback ) {
13739- Breinify . activityUser ( user , type , category , description , tags , false , function ( data ) {
13741+ Breinify . activityUser ( user , type , category , description , tags , null , function ( data ) {
1374013742 _privates . ajax ( url , data , callback , callback ) ;
1374113743 } ) ;
1374213744 } ,
@@ -13780,7 +13782,7 @@ dependencyScope.jQuery = $;;
1378013782 category = typeof category === 'undefined' || category === null ? _config . get ( ATTR_CONFIG . CATEGORY ) : category ;
1378113783 description = typeof description === 'undefined' || description === null ? null : description ;
1378213784 tags = BreinifyUtil . isSimpleObject ( tags ) ? tags : null ;
13783- sign = typeof sign === 'boolean' ? sign : false ;
13785+ sign = typeof sign === 'boolean' ? sign : ( sign === null ? ! BreinifyUtil . isEmpty ( _config . get ( ATTR_CONFIG . SECRET ) ) : false ) ;
1378413786
1378513787 // get the other values needed
1378613788 var unixTimestamp = BreinifyUtil . unixTimestamp ( ) ;
0 commit comments