Changeset 7605 for trunk/www/common/annotations/index.jsp
- Timestamp:
- Feb 26, 2019, 11:10:15 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/common/annotations/index.jsp
r7209 r7605 86 86 oldDc = sc.newDbControl(); 87 87 ItemContext cc = sc.getCurrentContext(itemType); 88 Annotatable oldItem = (Annotatable)cc.getObject("item");88 Annotatable oldItem = cc.getObject("item"); 89 89 Annotatable newItem = (Annotatable)itemType.getById(newDc, itemId); 90 90 oldDc.reattachItem((BasicItem)oldItem, false); … … 103 103 newDc = sc.newDbControl(); 104 104 105 Set<AnnotatedItem> items = (Set<AnnotatedItem>)cc.getObject("AnnotatedItems");105 Set<AnnotatedItem> items = cc.getObject("AnnotatedItems"); 106 106 cc.removeObject("AnnotatedItems"); 107 107
Note: See TracChangeset
for help on using the changeset viewer.