...
|
...
|
@@ -145,11 +145,11 @@ tabTree.prototype= { |
|
|
g.getData(g._getParam(_next))
|
|
|
} else {
|
|
|
g.active_count = 0;
|
|
|
g.setHeadVal();
|
|
|
g.setHeadVal(true);
|
|
|
g.reset()
|
|
|
}
|
|
|
} else {
|
|
|
g.setHeadVal();
|
|
|
g.setHeadVal(true);
|
|
|
g.reset()
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -210,7 +210,7 @@ tabTree.prototype= { |
|
|
g.rows.length = 0;
|
|
|
if (items.data.length == 0) {
|
|
|
g.active_count = 0;
|
|
|
g.setHeadVal();
|
|
|
g.setHeadVal(true);
|
|
|
g.reset();
|
|
|
}else{
|
|
|
$.each(items.data, function(count, item) {
|
...
|
...
|
@@ -225,16 +225,13 @@ tabTree.prototype= { |
|
|
g.records.push(count);
|
|
|
g.rows.push(item)
|
|
|
});
|
|
|
if ($("iframe", g.dom["citybox"]).length > 0) {
|
|
|
$("iframe", g.dom["citybox"]).height(g.element[0].offsetHeight)
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
error: function(e1, e2) {}
|
|
|
};
|
|
|
$.ajax(ajaxOptions)
|
|
|
},
|
|
|
setHeadVal: function() {
|
|
|
setHeadVal: function(bool) {
|
|
|
var g = this,
|
|
|
p = this.options;
|
|
|
var arr=[];
|
...
|
...
|
@@ -247,7 +244,7 @@ tabTree.prototype= { |
|
|
p.datas.push(item)
|
|
|
});
|
|
|
if (p.complete != null) {
|
|
|
p.complete(p.datas, false)
|
|
|
p.complete(p.datas, bool)
|
|
|
}
|
|
|
},
|
|
|
renderHeader: function() {
|
...
|
...
|
|