diff --git a/src/tr-web-control/i18n/en.json b/src/tr-web-control/i18n/en.json index fcd4c5e..19f02ba 100644 --- a/src/tr-web-control/i18n/en.json +++ b/src/tr-web-control/i18n/en.json @@ -435,7 +435,7 @@ "button-allow": "Download checked file(s)", "button-deny": "Skip checked file(s)", "button-priority": "Set priority", - "button-filter": "Type in regular expressions and click the paging button to refresh", + "button-filter": "Search files by regular expression", "button-tracker-add": "Add New Tracker", "button-tracker-edit": "Edit Tracker", "button-tracker-remove": "Remove Tracker" diff --git a/src/tr-web-control/i18n/zh_CN.json b/src/tr-web-control/i18n/zh_CN.json index f58ca14..0cd6cf3 100644 --- a/src/tr-web-control/i18n/zh_CN.json +++ b/src/tr-web-control/i18n/zh_CN.json @@ -436,7 +436,7 @@ "button-allow": "下载已选择的文件", "button-deny": "忽略已选择的文件", "button-priority": "设置优先级别", - "button-filter": "输入正则表达式后点左侧分页工具按钮以刷新", + "button-filter": "按输入的正则表达式筛选文件", "button-tracker-add": "增加新的 Tracker", "button-tracker-edit": "修改已选中的 Tracker 地址", "button-tracker-remove": "删除已选中的 Tracker 地址" diff --git a/src/tr-web-control/template/torrent-attribute.html b/src/tr-web-control/template/torrent-attribute.html index a771e98..6e7a2f9 100644 --- a/src/tr-web-control/template/torrent-attribute.html +++ b/src/tr-web-control/template/torrent-attribute.html @@ -267,7 +267,9 @@ id:"torrent-files-filter", iconCls:"icon-filter", title: system.lang.torrent.attribute["tip"]["button-filter"], - disabled:'true' + handler:function(){ + filelist.datagrid("getPager").find(".pagination-load").click(); + } }]; var priorityMenu = $("
").attr("id","priorityMenu").appendTo(thisLayout.find("#torrent-attribute-files")); priorityMenu.menu({