Lines Matching defs:data

27         // allow setting options as data attribute
28 // e.g. <select data-sol-options="{'allowNullSelection':true}">
29 this.metadata = this.$originalElement.data('sol-options');
57 data: undefined,
58 name: undefined, // name attribute, can also be set as name="" attribute on original element or data-sol-name=""
66 loadingData: 'Still loading data...',
184 .data(sol.DATA_KEY, sol)
186 .data('sol-name', originalName);
198 return this.config.name || this.$originalElement.data('sol-name') || this.$originalElement.attr('name');
233 .data(SearchableOptionList.prototype.DATA_KEY)
257 this.$loadingData = $('<div class="sol-loading-data"/>').html(this.config.texts.loadingData);
293 if($el.length && $el.data('sol-item') &&
294 $el.data('sol-item').label) {
297 $el.data('sol-item').label;
302 if($el.length && $el.data('label')) {
303 window.location = document.xrefPath + '/' + $el.data('label');
311 .data(this.DATA_KEY, this)
406 if ($form && $form.length === 1 && !$form.data(this.WINDOW_EVENTS_KEY)) {
412 initialState = $item.data('sol-item').selected;
444 $form.data(this.WINDOW_EVENTS_KEY, true);
458 if ($(this).data('timeout')) {
459 clearTimeout($(this).data('timeout'));
461 $(this).data('timeout', setTimeout(function () {
642 if (!this.config.data) {
644 } else if ($.isFunction(this.config.data)) {
645 this.items = this._fetchDataFromFunction(this.config.data);
646 } else if ($.isArray(this.config.data)) {
647 this.items = this._fetchDataFromArray(this.config.data);
648 } else if (typeof this.config.data === (typeof 'a string')) {
649 this._loadItemsFromUrl(this.config.data);
651 this._showErrorLabel('Unknown data type');
685 } else if (this.$originalElement.data('sol-data')) {
686 var solDataAttributeValue = this.$originalElement.data('sol-data');
689 this._showErrorLabel('Could not determine data from original element. Must be a select or data must be provided as data-sol-data="" attribute');
776 // hide "loading data"
828 var data = $(solOption.element).data('messages');
829 if (data && data.length) {
833 .data("messages", data)
834 .attr('data-messages', '')
879 .data('sol-item', solOption)
894 if ($el.length && $el.data('sol-item') && $el.data('sol-item').label) {
896 window.location = document.xrefPath + '/' + $(this).find('.sol-checkbox').data('sol-item').label;
902 $inputElement.data('messages-available', data && data.length);
1012 var solOptionItem = $changedItem.data('sol-item'),
1022 if ($changedItem.data('messages-available')) {
1032 .data('label', solOptionItem.label)
1062 var solOptionItem = $changedItem.data('sol-item'),
1242 $alreadyInitializedSol = $this.data(SearchableOptionList.prototype.DATA_KEY);