/
var
/
www
/
html
/
sugardemo
/
include
/
javascript
/
sugar7
/
filter-operators
/
Upload File
HOME
/* * Your installation or use of this SugarCRM file is subject to the applicable * terms available at * http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/. * If you do not agree to all of the applicable terms or do not have the * authority to bind the entity as an authorized representative, then do not * install or use this SugarCRM file. * * Copyright (C) SugarCRM Inc. All rights reserved. */ (function register(app) { app.events.on('app:init', function init() { /** * EmptyOperator Management * * @class Core.FilterOperators.EmptyOperator * @alias SUGAR.App.FilterOperators.EmptyOperator * * @param {Object} def Operator Definition */ function EmptyOperator(def) { this.def = def; }; /** * Get updated input * * @param {Function} callback Callback function */ EmptyOperator.prototype.getUpdatedInput = function(callback) { callback({ properties: { _inputType: false, }, }); }; app.filterOperators = app.filterOperators || {}; app.filterOperators = _.extend(app.filterOperators, { EmptyOperator: EmptyOperator }); }); })(SUGAR.App);