CC-4057: Calendar -> Add/Remove contents: Lost cursor after add contents to a show

-fixed
This commit is contained in:
denise 2012-07-03 11:48:57 -04:00
parent 46604fdf59
commit bc569462ee
1 changed files with 8 additions and 1 deletions

View File

@ -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);
}
}