@@ 1527-1533 (lines=7) @@ | ||
1524 | self::$related_objects[ $options[ self::$type . '_object' ] ][ 'data_callback' ], |
|
1525 | array( $name, $value, $options, $pod, $id ) |
|
1526 | ); |
|
1527 | if ( 'data' == $context ) { |
|
1528 | self::$field_data = array( |
|
1529 | 'field' => $name, |
|
1530 | 'id' => $options[ 'id' ], |
|
1531 | 'autocomplete' => false |
|
1532 | ); |
|
1533 | } |
|
1534 | ||
1535 | $simple = true; |
|
1536 | ||
@@ 1764-1770 (lines=7) @@ | ||
1761 | else |
|
1762 | $autocomplete = false; |
|
1763 | ||
1764 | if ( 'data' == $context ) { |
|
1765 | self::$field_data = array( |
|
1766 | 'field' => $name, |
|
1767 | 'id' => $options[ 'id' ], |
|
1768 | 'autocomplete' => $autocomplete |
|
1769 | ); |
|
1770 | } |
|
1771 | ||
1772 | if ( $hierarchy && !$autocomplete && !empty( $results ) && $options[ 'table_info' ][ 'object_hierarchical' ] && !empty( $options[ 'table_info' ][ 'field_parent' ] ) ) { |
|
1773 | $args = array( |