Lines Matching defs:options
3 var TextInput = function (div, options) {
5 this.options = options;
12 this.$input = $('<input type="text">').val(this.options.defaultValue).appendTo(this.$div);
70 var EditableForm = function (div, options) {
72 this.options = options;
116 this.input = new TextInput(this.$form.find('div.editable-input'), {defaultValue: this.options.value});
185 if (newValue === this.options.value) {
195 var params = $.extend({}, this.options.params, {oldValue: this.options.value, newValue: newValue});
197 url : this.options.url,
209 this.options.value = newValue;
210 if (typeof this.options.success === 'function') {
211 this.options.success.call(this.options.scope, response, newValue);
229 var Editable = function (element, options) {
231 this.options = jQuery.extend({}, jQuery.fn.editable.defaults, options);
245 if (!this.options.disabled) {
253 if(!this.options.disabled) {
306 this.options.disabled = false;
315 this.options.disabled = true;
325 if(this.options.disabled) {
337 if(this.options.disabled) {
351 this.$popup.append($('<label>').text(this.options.label));
374 url : this.options.url,
375 success : this.options.success,
376 scope : this.options.scope,
377 params : this.options.params
422 options = typeof option === 'object' && option;
425 $this.data(datakey, (data = new Editable(this, options)));