|
@@ -1231,11 +1231,11 @@ function itp_fn_close_other_tab(tabId) {
|
1231
|
|
1231
|
|
1232
|
$('#ITP_HEADER .itp_tab_list li').each(function() {
|
1232
|
$('#ITP_HEADER .itp_tab_list li').each(function() {
|
1233
|
var tmpId = $(this).find('.itp_tab_close').attr('data-itp-tab-id');
|
1233
|
var tmpId = $(this).find('.itp_tab_close').attr('data-itp-tab-id');
|
1234
|
-
|
|
|
|
|
1234
|
+ console.log("=================");
|
1235
|
if(tmpId) {
|
1235
|
if(tmpId) {
|
1236
|
- // console.log('### MEMU : ' + tmpId + ', ACTIVE : ' + $(this).hasClass('active'));
|
|
|
1237
|
-
|
|
|
1238
|
- if($(this).hasClass('active') == false && tmpId != tabId) {
|
|
|
|
|
1236
|
+ //console.log('### MEMU : ' + tmpId + ', ACTIVE : ' + $(this).hasClass('active'), ' , tabId : ' + tabId);
|
|
|
1237
|
+ //if($(this).hasClass('active') == false && tmpId != tabId) {
|
|
|
1238
|
+ if(tmpId != tabId) {
|
1239
|
$(this).find('.itp_tab_close').trigger('click');
|
1239
|
$(this).find('.itp_tab_close').trigger('click');
|
1240
|
}
|
1240
|
}
|
1241
|
}
|
1241
|
}
|