// linked field object Zymonic.Field.LinkedField = function() {}; // do the inheritance Zymonic.Field.LinkedField.prototype = new Zymonic.Field.Field(); Zymonic.Field.LinkedField.prototype.constructor = this; // Accept additional args (including filter) Zymonic.Field.LinkedField.prototype.addArgs = function(args) { for (var key in args) { this[key] = args[key]; } // if filter is set, set extra param on filter for ajax calls if (this.filter) { this.filter.addExtraParam('ZZFparent_fap_from_block', 'true'); this.filter.addExtraParam('ZZignore_search_fields_as_block_params', 'true'); // add and linking field lookups to the filter for (var i=0; i