If history tab is currently active, finish loading historylog widget immediately

This commit is contained in:
Nathan Gray 2014-06-16 15:17:30 +00:00
parent aa249cb6a2
commit 2b1215af8b

View File

@ -101,6 +101,12 @@ var et2_historylog = et2_valueWidget.extend([et2_IDataProvider],
});
};
tabs.tabData[i].flagDiv.bind("click.history",{"history": this, div: tabs.tabData[i].flagDiv}, handler);
// Display if history tab is selected
if(i == tabs.get_active_tab())
{
tabs.tabData[i].flagDiv.trigger("click.history");
}
break;
}
}