SAAS-1017: Move top nav bar to side

Reload datatable if user clicks the browser's back button
This commit is contained in:
drigato 2015-08-14 08:43:47 -04:00
parent e90fe728a2
commit 3e66363cdd

View file

@ -1262,6 +1262,14 @@ $(document).ready(function() {
}
$("a[href$='"+location.hash+"']").parent().addClass("selected");
$(window).on('hashchange', function() {
$(".media_type_selector").each(function () {
$(this).removeClass("selected");
});
$("a[href$='"+location.hash+"']").parent().addClass("selected");
oTable.fnDraw();
});
$(".media_type_selector").on("click", function() {
if (!$(this).hasClass("selected")) {
AIRTIME.library.selectNone();