|
@@ -162,13 +162,13 @@
|
|
$(".buttons-tab .tab-link").each(function() {
|
|
$(".buttons-tab .tab-link").each(function() {
|
|
var index = $(this).index();
|
|
var index = $(this).index();
|
|
$(".buttons-tab .tab-link").eq(0).addClass("active");
|
|
$(".buttons-tab .tab-link").eq(0).addClass("active");
|
|
-
|
|
|
|
$(this).click(function() {
|
|
$(this).click(function() {
|
|
loading(true);
|
|
loading(true);
|
|
tab(parseInt(index)+1);
|
|
tab(parseInt(index)+1);
|
|
$(this).addClass("active").siblings().removeClass("active");
|
|
$(this).addClass("active").siblings().removeClass("active");
|
|
})
|
|
})
|
|
- })
|
|
|
|
|
|
+ });
|
|
|
|
+ $(".buttons-tab .tab-link").eq((parseInt({{.T.dataType}})-parseInt(1))).addClass("active").siblings().removeClass("active");
|
|
})
|
|
})
|
|
//
|
|
//
|
|
function tab(t){
|
|
function tab(t){
|