mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-15 20:53:39 +09:00
- minified scripts;
This commit is contained in:
@@ -204,18 +204,18 @@ function um_in_array(needle, haystack, strict){
|
||||
* @param object $dom
|
||||
* @param boolean is_single_update
|
||||
*/
|
||||
function um_apply_conditions($dom, is_single_update) {
|
||||
function um_apply_conditions( $dom, is_single_update ) {
|
||||
var operators = ['empty', 'not empty', 'equals to', 'not equals', 'greater than', 'less than', 'contains'];
|
||||
if (!$dom.parents('.um-field[data-key]').length) {
|
||||
if ( ! $dom.parents('.um-field[data-key]').length ) {
|
||||
return;
|
||||
}
|
||||
var key = $dom.parents('.um-field[data-key]').data('key');
|
||||
var conditions = um_field_conditions[key];
|
||||
if (typeof (conditions) === 'undefined') {
|
||||
var conditions = um_field_conditions[ key ];
|
||||
if ( typeof conditions === 'undefined' ) {
|
||||
return;
|
||||
}
|
||||
|
||||
var live_field_value = um_get_field_data($dom);
|
||||
var live_field_value = um_get_field_data( $dom );
|
||||
|
||||
var $owners = {};
|
||||
var $owners_values = {};
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user