// the "on startup" trigger happens after files// are opened, so we need to call updateLeafName// for each opened view. Files opened after startup// will be finevar views = ko.views.manager.topView.getViews(true);for(var i=0; i < views.length; i++){if(views[i].document)
views[i].updateLeafName(views[i]);}