Subversion Repositories SmartDukaan

Rev

Rev 37266 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37266 Rev 37498
Line 814... Line 814...
814
 
814
 
815
			$('html, body').animate({scrollTop: $('#timeline-detail-container').offset().top - 60}, 300);
815
			$('html, body').animate({scrollTop: $('#timeline-detail-container').offset().top - 60}, 300);
816
		});
816
		});
817
 
817
 
818
		// Close detail panel
818
		// Close detail panel
-
 
819
		// Fragment is re-injected with .html(), which re-runs this script; clear the
-
 
820
		// namespace first so handlers replace rather than stack.
-
 
821
		$(document).off('.onboardingtimeline');
819
		$(document).on('click', '#closeDetailPanel', function () {
822
		$(document).on('click.onboardingtimeline', '#closeDetailPanel', function () {
820
			$('#timeline-detail-container').hide();
823
			$('#timeline-detail-container').hide();
821
			$('#storeTimeline_wrapper').show();
824
			$('#storeTimeline_wrapper').show();
822
			dtable.columns.adjust();
825
			dtable.columns.adjust();
823
			$('#storeTimeline tbody tr, .DTFC_LeftBodyWrapper table tbody tr').removeClass('row-selected');
826
			$('#storeTimeline tbody tr, .DTFC_LeftBodyWrapper table tbody tr').removeClass('row-selected');
824
		});
827
		});