QueryTextField.js
452 Bytes
define(function(require) {
'use strict';
var Backbone = require('backbone');
var QueryTextField = Backbone.Model.extend({
defaults: {
formName: null,
name: null,
queries: [],
fields: null,
multi: false
},
resetParameters: function(options) {
this.set({query: null, queries: []}, options);
},
});
return QueryTextField;
});