CC-4057: Calendar -> Add/Remove contents: Lost cursor after add contents to a show
-fixed
This commit is contained in:
parent
46604fdf59
commit
bc569462ee
|
@ -684,9 +684,16 @@ var AIRTIME = (function(AIRTIME){
|
|||
* and that track is deleted, the cursor position becomes
|
||||
* unavailble. We have to check the position is available
|
||||
* before re-highlighting it.
|
||||
*/
|
||||
*/
|
||||
if ($tr.find(".sb-checkbox").children().hasClass("innerWrapper")) {
|
||||
mod.selectCursor($tr);
|
||||
|
||||
/* If the selected cursor is the header or footer row
|
||||
* we need to explicitly select it because those rows do not have
|
||||
* innerWrapper class
|
||||
*/
|
||||
} else if ($tr.hasClass("sb-header") || $tr.hasClass("sb-footer")) {
|
||||
mod.selectCursor($tr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue