Sha256: 53bbce903a2968b66bcb8907bebfc0965917c7badf5fdd54b9dba9ce5cc91649

Contents?: true

Size: 1.3 KB

Versions: 8

Compression:

Stored size: 1.3 KB

Contents

define("dojox/grid/enhanced/plugins/filter/ClearFilterConfirm", [
	"dojo/_base/declare",
	"dojo/cache",
	"dijit/_Widget",
	"dijit/_TemplatedMixin",
	"dijit/_WidgetsInTemplateMixin"
], function(declare, cache, _Widget, _TemplatedMixin, _WidgetsInTemplateMixin){

return declare("dojox.grid.enhanced.plugins.filter.ClearFilterConfirm",
	[_Widget, _TemplatedMixin, _WidgetsInTemplateMixin], {
	// summary:
	//		The UI for user to confirm the operation of clearing filter.
	templateString: cache("dojox.grid", "enhanced/templates/ClearFilterConfirmPane.html"),

	widgetsInTemplate: true,

	plugin: null,

	postMixInProperties: function(){
		var nls = this.plugin.nls;
		this._clearBtnLabel = nls["clearButton"];
		this._cancelBtnLabel = nls["cancelButton"];
		this._clearFilterMsg = nls["clearFilterMsg"];
	},

	postCreate: function(){
		this.inherited(arguments);
		this.cancelBtn.domNode.setAttribute("aria-label", this.plugin.nls["waiCancelButton"]);
		this.clearBtn.domNode.setAttribute("aria-label", this.plugin.nls["waiClearButton"]);
	},

	uninitialize: function(){
		this.plugin = null;
	},

	_onCancel: function(){
		this.plugin.clearFilterDialog.hide();
	},

	_onClear: function(){
		this.plugin.clearFilterDialog.hide();
		this.plugin.filterDefDialog.clearFilter(this.plugin.filterDefDialog._clearWithoutRefresh);
	}
});
});

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
dojox-rails-0.13.0 vendor/assets/javascripts/dojox/grid/enhanced/plugins/filter/ClearFilterConfirm.js.uncompressed.js
dojox-rails-0.12.0 vendor/assets/javascripts/dojox/grid/enhanced/plugins/filter/ClearFilterConfirm.js.uncompressed.js
dojox-rails-0.11.0 vendor/assets/javascripts/grid/enhanced/plugins/filter/ClearFilterConfirm.js.uncompressed.js
dojo-rails-0.9.4 vendor/assets/javascripts/dojox/grid/enhanced/plugins/filter/ClearFilterConfirm.js.uncompressed.js
dojo-rails-0.9.3 vendor/assets/javascripts/dojox/grid/enhanced/plugins/filter/ClearFilterConfirm.js.uncompressed.js
dojo-rails-0.9.2 vendor/assets/javascripts/dojox/grid/enhanced/plugins/filter/ClearFilterConfirm.js.uncompressed.js
dojo-rails-0.9.1 vendor/assets/javascripts/dojox/grid/enhanced/plugins/filter/ClearFilterConfirm.js.uncompressed.js
dojo-rails-0.9.0 vendor/assets/javascripts/dojox/grid/enhanced/plugins/filter/ClearFilterConfirm.js.uncompressed.js