|
@@ -15,23 +15,23 @@ define([ "require", "backbone", "modules/Modal", "utils/Utils", "hbs!tmpl/search
|
|
|
this.bindEvents();
|
|
|
var that = this;
|
|
|
this.modal = new Modal({
|
|
|
- title: "Attribute Filter",
|
|
|
+ title: "属性筛选器",
|
|
|
content: this,
|
|
|
allowCancel: !0,
|
|
|
mainClass: "modal-lg",
|
|
|
okCloses: !1,
|
|
|
buttons: [ {
|
|
|
- text: "Cancel",
|
|
|
+ text: "取消",
|
|
|
btnClass: "cancel btn-action",
|
|
|
- title: "Cancel"
|
|
|
+ title: "取消"
|
|
|
}, {
|
|
|
- text: "Apply",
|
|
|
+ text: "应用",
|
|
|
btnClass: "ok btn-atlas",
|
|
|
- title: "Apply the filters and close popup (won't perform search)"
|
|
|
+ title: "应用过滤器并关闭弹出窗口(不会执行搜索)"
|
|
|
}, {
|
|
|
- text: "Search",
|
|
|
+ text: "搜索",
|
|
|
btnClass: "ok search btn-atlas",
|
|
|
- title: "Apply the filters and do search"
|
|
|
+ title: "应用筛选器并进行搜索"
|
|
|
} ]
|
|
|
}).open(), this.modal.on("closeModal", function() {
|
|
|
that.modal.trigger("cancel");
|