Przeglądaj źródła

Track session activvity if the user scrolls the editor

Alberto Fernández Capel 8 lat temu
rodzic
commit
a68489a604

+ 2 - 0
services/web/public/coffee/ide/editor/directives/aceEditor.coffee

@@ -376,6 +376,8 @@ define [
 					# deletes and then inserts document content
 					# deletes and then inserts document content
 					session.setAnnotations scope.annotations
 					session.setAnnotations scope.annotations
 
 
+					session.on "changeScrollTop", event_tracking.editingSessionHeartbeat
+
 					if scope.eventsBridge?
 					if scope.eventsBridge?
 						session.on "changeScrollTop", onScroll
 						session.on "changeScrollTop", onScroll