This commit is contained in:
Van 2014-12-23 17:25:07 +08:00
parent 56238e26e3
commit a9a09b44da
7 changed files with 27 additions and 5 deletions

View File

@ -160,5 +160,6 @@
"no_empty": "Can not Empty!", "no_empty": "Can not Empty!",
"change_avatar": "Avatar modify go", "change_avatar": "Avatar modify go",
"open": "Open", "open": "Open",
"pricing": "Pricing" "pricing": "Pricing",
"search_no_match": "No matching files were found."
} }

View File

@ -160,5 +160,6 @@
"no_empty": "空ではありません", "no_empty": "空ではありません",
"change_avatar": "アバターの変更は行く", "change_avatar": "アバターの変更は行く",
"open": "オープン", "open": "オープン",
"pricing": "价格" "pricing": "价格",
"search_no_match": "一致するファイルが見つかりませんでした。"
} }

View File

@ -160,5 +160,6 @@
"no_empty": "不能为空", "no_empty": "不能为空",
"change_avatar": "头像修改请到", "change_avatar": "头像修改请到",
"open": "打开", "open": "打开",
"pricing": "价格" "pricing": "价格",
"search_no_match": "没有发现匹配的文件。"
} }

View File

@ -160,5 +160,6 @@
"no_empty": "不能為空", "no_empty": "不能為空",
"change_avatar": "頭像修改請到", "change_avatar": "頭像修改請到",
"open": "打開", "open": "打開",
"pricing": "價格" "pricing": "價格",
"search_no_match": "沒有發現匹配的文件。"
} }

View File

@ -646,6 +646,10 @@ var editors = {
+ data[i].line + '" data-ch="' + data[i].ch + '"> (' + data[i].line + ':' + data[i].line + '" data-ch="' + data[i].ch + '"> (' + data[i].line + ':'
+ data[i].ch + ')</i></span></li>'; + data[i].ch + ')</i></span></li>';
} }
if (data.length === 0) {
searcHTML += '<li>' + config.label.search_no_match + '</li>';
}
searcHTML += '</ul>'; searcHTML += '</ul>';
var $search = $('.bottom-window-group .search'), var $search = $('.bottom-window-group .search'),

View File

@ -23,6 +23,19 @@ var Tabs = function (obj) {
this.obj.STACKSIZE = 64; this.obj.STACKSIZE = 64;
this._init(obj); this._init(obj);
// DOM 元素存在时,应顺序入栈
var _it = this;
$(obj.id + " > .tabs > div").each(function () {
var id = $(this).data("index");
if (obj._stack.length === _it.obj.STACKSIZE) {
obj._stack.splice(0, 1);
}
if (obj._stack[obj._stack.length - 1] !== id) {
_it.obj._stack.push(id);
}
});
}; };
$.extend(Tabs.prototype, { $.extend(Tabs.prototype, {

View File

@ -585,7 +585,8 @@
"uptodate": "{{.i18n.uptodate}}", "uptodate": "{{.i18n.uptodate}}",
"perference": "{{.i18n.perference}}", "perference": "{{.i18n.perference}}",
"apply": "{{.i18n.apply}}", "apply": "{{.i18n.apply}}",
"no_empty": "{{.i18n.no_empty}}" "no_empty": "{{.i18n.no_empty}}",
"search_no_match": "{{.i18n.search_no_match}}"
}, },
"channel": {{.conf.Channel}}, "channel": {{.conf.Channel}},
"wideSessionId": '{{.session.ID}}', "wideSessionId": '{{.session.ID}}',