//>>built
define("dojox/grid/enhanced/plugins/filter/ClearFilterConfirm",["dojo/_base/declare","dijit/_Widget","dijit/_TemplatedMixin","dijit/_WidgetsInTemplateMixin","dojo/text!../../templates/ClearFilterConfirmPane.html"],function(_1,_2,_3,_4,_5){
return _1("dojox.grid.enhanced.plugins.filter.ClearFilterConfirm",[_2,_3,_4],{templateString:_5,widgetsInTemplate:true,plugin:null,postMixInProperties:function(){
var _6=this.plugin.nls;
this._clearBtnLabel=_6["clearButton"];
this._cancelBtnLabel=_6["cancelButton"];
this._clearFilterMsg=_6["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);
}});
});
require({cache:{"url:dojox/grid/enhanced/templates/ClearFilterConfirmPane.html":"<div class=\"dojoxGridClearFilterConfirm\">\n\t<div class=\"dojoxGridClearFilterMsg\">\n\t\t${_clearFilterMsg}\n\t</div>\n\t<div class=\"dojoxGridClearFilterBtns\" dojoAttachPoint=\"btnsNode\">\n\t\t<span dojoType=\"dijit.form.Button\" label=\"${_cancelBtnLabel}\" dojoAttachPoint=\"cancelBtn\" dojoAttachEvent=\"onClick:_onCancel\"></span>\n\t\t<span dojoType=\"dijit.form.Button\" label=\"${_clearBtnLabel}\" dojoAttachPoint=\"clearBtn\" dojoAttachEvent=\"onClick:_onClear\"></span>\n\t</div>\n</div>\n"}});
