core/OperationBuilder.js
function fieldRelocate(elem, field, oldParent, newParent) {
        try {
            $(exports).triggerHandler('fieldRelocate', [elem, field, oldParent, newParent]);
        } catch (err) {
            console.error(err);
        }
        _currentOperation.ops.push({
            op: OP_FIELD_RELOCATE,
            arg: {
                _id: elem._id,
                f: field,
                op: oldParent._id,
                np: newParent._id
            }
        });
    }
function fieldRelocate(elem, field, oldParent, newParent) {
        try {
            $(exports).triggerHandler('fieldRelocate', [elem, field, oldParent, newParent]);
        } catch (err) {
            console.error(err);
        }
        _currentOperation.ops.push({
            op: OP_FIELD_RELOCATE,
            arg: {
                _id: elem._id,
                f: field,
                op: oldParent._id,
                np: newParent._id
            }
        });
    }
function fieldRelocate ( elem , field , oldParent , newParent ) { try { $ ( exports ) . triggerHandler ( 'fieldRelocate' , [ elem , field , oldParent , newParent ] ) ; } catch ( err ) { console . error ( err ) ; } _currentOperation . ops . push ( { op : OP_FIELD_RELOCATE , arg : { _id : elem . _id , f : field , op : oldParent . _id , np : newParent . _id } } ) ; }
Relocate an element to another parent.

@param {Element} elem Element to be relocated
@param {string} field Field name of parent
@param {number} oldParent Current parent
@param {number} newParent New parent to be located in
Relocate an element to another parent .