Lines Matching refs:options

4     var Filelisting = function(element, options) {
14 this.options = $.extend({}, $.fn.dokuwiki_plugin_filelisting.defaults, options);
17 if (this.options.remember_state_per_page) {
18 this.storageKey += '/' + this.options.pageId;
30 return this.options.defaultToggle;
44 var $toggleButton = $('<div>').text(this.options.toggleVisible)
53 $toggleButton.text(this.options.toggleHidden);
59 $toggleButton.text(this.options.toggleVisible);
63 $toggleButton.text(this.options.toggleHidden);
85 $row.children('.plugin__filelisting_cell_icon').html(this.options.dirClosedIcon);
98 $row.children('.plugin__filelisting_cell_icon').html(this.options.dirOpenedIcon);
114 $row.children('.plugin__filelisting_cell_icon').html(this.options.loadingIcon);
120 data['baseNamespace'] = this.options.baseNamespace;
124 $row.children('.plugin__filelisting_cell_icon').html(this.options.dirOpenedIcon);
135 $row.children('.plugin__filelisting_cell_icon').html(this.options.dirClosedIcon);
150 data['baseNamespace'] = this.options.baseNamespace;
178 this.$filter = $('<label>' + this.options.filterLabel + ': <input></label>').appendTo(this.$footer);
218 $files.filter('[data-childOf="' + this.options.baseNamespace + '"]').each(filterCallback);
240 //options for click
253 if ($order.text() === '' || $order.text() === this.options.sortDesc) {
254 $order.text(this.options.sortAsc);
256 $order.text(this.options.sortDesc);
273 namespace = this.options.baseNamespace;
287 if (this.$sortHeader.find('span').text() === this.options.sortDesc) {
329 var deleteFiles = window.confirm(this.options.deleteConfirm);
351 $.fn.dokuwiki_plugin_filelisting = function (options) {
354 new Filelisting(this, options);
393 var options = {};
395 options.pageId = JSINFO.id;
399 options.defaultToggle = 'visible';
401 options.defaultToggle = 'hidden';
403 options.remember_state_per_page = JSINFO.plugin.filelisting.remember_state_per_page;
404 options.dirOpenedIcon = JSINFO.plugin.filelisting.dirOpenedIcon;
405 options.dirClosedIcon = JSINFO.plugin.filelisting.dirClosedIcon;
406 options.loadingIcon = JSINFO.plugin.filelisting.loadingIcon;
412 options.baseNamespace = ns;
414 options.baseNamespace = JSINFO.namespace;
417 options.filterLabel = LANG.plugins.filelisting.filter_label;
418 options.deleteConfirm = LANG.plugins.filelisting.delete_confirm;
420 $plugin__filelisting.dokuwiki_plugin_filelisting(options);