express-api-user-management-signup
Advanced tools
Comparing version 0.0.553 to 0.0.554
@@ -59,3 +59,3 @@ | ||
success: function(data){ | ||
if( ga != undefined ) ga('send', 'event', 'userdashboard', 'logout', 'succes', 1); | ||
if( typeof(ga) != 'undefined' ) ga('send', 'event', 'userdashboard', 'logout', 'succes', 1); | ||
that.showLockedAlert('You are now logged out.<br>Redirecting you back to the homepage.'); | ||
@@ -91,3 +91,3 @@ }, | ||
$('.modal-confirm .submit').click(function(){ | ||
if( ga != undefined ) ga('send', 'event', 'click', 'userdashboard', 'account_delete', 1); | ||
if( typeof(ga) != 'undefined' ) ga('send', 'event', 'userdashboard', 'account_delete','click', 1); | ||
that.deleteAccount(); | ||
@@ -103,3 +103,3 @@ }); | ||
$('.modal-confirm .submit').click(function(){ | ||
if( ga != undefined ) ga('send', 'event', 'click', 'userdashboard', 'apikey_regenerate', 1); | ||
if( typeof(ga) != 'undefined' ) ga('send', 'event', 'userdashboard', 'apikey_regenerate','click', 1); | ||
that.regenerateApiKey(); | ||
@@ -120,3 +120,3 @@ }); | ||
$('.modal-alert button').off('click'); | ||
if( ga != undefined ) ga('send', 'event', 'click', 'userdashboard', 'account_update', 1); | ||
if( typeof(ga) != 'undefined' ) ga('send', 'event', 'userdashboard', 'account_update', 'click', 1); | ||
} |
@@ -20,3 +20,3 @@ | ||
hc.onUpdateSuccess(); | ||
if( ga != undefined ) ga('send', 'event', 'userdashboard','signup', 'succes', 1); | ||
if( typeof(ga) != 'undefined' ) ga('send', 'event', 'userdashboard','signup', 'succes', 1); | ||
} | ||
@@ -27,5 +27,5 @@ }, | ||
av.showInvalidEmail(); | ||
if( ga != undefined ) ga('send', 'event', 'userdashboard','signup','email_taken', 1); | ||
if( typeof(ga) != 'undefined' ) ga('send', 'event', 'userdashboard','signup','email_taken', 1); | ||
} else if (e.responseText == 'username-taken'){ | ||
if( ga != undefined ) ga('send', 'event', 'userdashboard','signup','invalid_username', 1); | ||
if( typeof(ga) != 'undefined' ) ga('send', 'event', 'userdashboard','signup','invalid_username', 1); | ||
av.showInvalidUserName(); | ||
@@ -32,0 +32,0 @@ } |
{ | ||
"name": "express-api-user-management-signup", | ||
"version": "0.0.553", | ||
"version": "0.0.554", | ||
"description": "adds user frontend with login-, registration-, and webhook- features to your (express) application. Startingpoint for DIY api management", | ||
@@ -5,0 +5,0 @@ "author": { |
727051