This repository was archived by the owner on Mar 5, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1919/* global $ */
2020/* global _ */
2121
22+ /* version 6.1 */
2223class ProjectFramework {
2324 /*
2425 PUBLIC INTERFACE
@@ -42,7 +43,8 @@ class ProjectFramework {
4243 viewType : "" , // type of the current view. manage | project | scenario | null (none of those)
4344 projectEntities : [ ] , // list of project entities that impact the project revision for the current view. "all" or [entity names]
4445 projectRevisionEntity : "ProjectRevision" , // the entity storing the project revision,
45- projectAttributes : [ ] // list of entities that are fetched to augment project object for management view
46+ projectAttributes : [ ] , // list of entities that are fetched to augment project object for management view
47+ lastUsed : true // save the last shelf config for a project and restore it next time
4648 }
4749 } ) ;
4850 $ . extend ( this . config , userconfig ) ;
@@ -987,7 +989,8 @@ class ProjectFramework {
987989 self . shelfValid ( true ) ;
988990
989991 // its a valid shelf so save it
990- self . _saveShelf ( ) ;
992+ if ( self . config . lastUsed )
993+ self . _saveShelf ( ) ;
991994
992995 self . _initProjectRevisionTracking ( ) ;
993996 }
@@ -1318,7 +1321,6 @@ class ProjectFramework {
13181321 }
13191322} ;
13201323
1321-
13221324/*
13231325Custom overlay for during custom orchestrated actions like import project
13241326*/
You can’t perform that action at this time.
0 commit comments