CC-4031: Timeline cursor vanishes when every once in a while
-fixed
This commit is contained in:
parent
aef57536c3
commit
12bf42d2f1
|
@ -211,6 +211,8 @@ var AIRTIME = (function(AIRTIME){
|
||||||
mod.fnItemCallback = function(json) {
|
mod.fnItemCallback = function(json) {
|
||||||
checkError(json);
|
checkError(json);
|
||||||
|
|
||||||
|
|
||||||
|
cursorIds = [];
|
||||||
cursors = $(".cursor-selected-row");
|
cursors = $(".cursor-selected-row");
|
||||||
for (i = 0; i < cursors.length; i++) {
|
for (i = 0; i < cursors.length; i++) {
|
||||||
cursorIds.push(($(cursors.get(i)).attr("id")));
|
cursorIds.push(($(cursors.get(i)).attr("id")));
|
||||||
|
@ -673,7 +675,6 @@ var AIRTIME = (function(AIRTIME){
|
||||||
$tr = $table.find("tr[id="+cursorIds[i]+"]");
|
$tr = $table.find("tr[id="+cursorIds[i]+"]");
|
||||||
mod.selectCursor($tr);
|
mod.selectCursor($tr);
|
||||||
}
|
}
|
||||||
cursorIds = [];
|
|
||||||
|
|
||||||
//if there is only 1 cursor on the page highlight it by default.
|
//if there is only 1 cursor on the page highlight it by default.
|
||||||
if ($cursorRows.length === 1) {
|
if ($cursorRows.length === 1) {
|
||||||
|
|
Loading…
Reference in New Issue