Changeset 5700
- Timestamp:
- 10/09/14 16:02:45 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/trunk/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/editor/EditorAS.as
r5699 r5700 70 70 } 71 71 72 private function determinePublishButtonEnabled():void { 73 buttonBar.publishBtn.enabled = (itemDescription != null && itemDescription.isPrivate && itemDescription.id != null && xmlEditor.cmdSpec.headerId != null && ( Config.instance.registrySpace.space == Config.SPACE_PRIVATE || Config.SPACE_GROUP)); 74 } 75 72 76 private function profileLoaded(event:Event):void { 73 77 var cmdComponent:XML = profileSrv.profile.profileSource; … … 75 79 this.cmdSpec.changeTracking = true; 76 80 determineSaveButtonEnabled(); 81 determinePublishButtonEnabled(); 77 82 Config.instance.getListGroupsOfItemService().loadGroupsForItem(itemDescription.id); 78 83 CursorManager.removeBusyCursor(); … … 85 90 this.cmdSpec.changeTracking = true; 86 91 determineSaveButtonEnabled(); 92 determinePublishButtonEnabled(); 87 93 Config.instance.getListGroupsOfItemService().loadGroupsForItem(itemDescription.id); 88 94 CursorManager.removeBusyCursor(); … … 207 213 uploadProgress.includeInLayout = false; 208 214 determineSaveButtonEnabled(); 215 determinePublishButtonEnabled(); 209 216 } 210 217
Note: See TracChangeset
for help on using the changeset viewer.