Commit 5ec6d9a4 authored by Dave Lane's avatar Dave Lane

fixed problems with hooks and action variables for enrolling and unenrolling...

fixed problems with hooks and action variables for enrolling and unenrolling users to support corresponding contacts being added and removed from segments in Mautic in wpms-mautic
parent b76c8cf3
This diff is collapsed.
......@@ -315,8 +315,8 @@ $.validator.addMethod('wp_username', function(value, element) {
return testing;
}, "Your username must be a combination of lowercase letters (a-z) and/or digits (0-9).");
$.validator.addMethod('value_not_default', function(value, element, arg) {
return arg !== value;
LOG('in value_not_default validator');
return arg !== value;
}, "You must select something other than the default");
// default values
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment