Index: lams_common/src/flash/org/lamsfoundation/lams/common/ws/WorkspaceDialog.as =================================================================== diff -u -r8d65a2490547840a2fa825b1093c2f4a4192a57e -ra39ae5b70adbb7b3f5cea84657d3e70367a501b4 --- lams_common/src/flash/org/lamsfoundation/lams/common/ws/WorkspaceDialog.as (.../WorkspaceDialog.as) (revision 8d65a2490547840a2fa825b1093c2f4a4192a57e) +++ lams_common/src/flash/org/lamsfoundation/lams/common/ws/WorkspaceDialog.as (.../WorkspaceDialog.as) (revision a39ae5b70adbb7b3f5cea84657d3e70367a501b4) @@ -353,7 +353,7 @@ if(wm.isForced() && nodeToOpen.attributes.data.resourceID == WorkspaceModel.ROOT_VFOLDER){ // select users root workspace folder - //treeview.selectedNode = nodeToOpen.firstChild; + treeview.selectedNode = nodeToOpen.firstChild; dispatchEvent({type:'change', target:this.treeview}); // no longer force open the Organisation virtual folder @@ -460,7 +460,7 @@ } } if(wm.currentMode == Workspace.MODE_OPEN){ - licenseID_cmb.enabled = false; + //licenseID_cmb.enabled = false; } onLicenseComboSelect(); @@ -586,6 +586,7 @@ resourceDesc_txa.visible = v; licenseImg_pnl.visible = v; viewLicense_btn.visible = v; + licenseID_cmb.visible = v; if(licenseID_cmb.value.licenseID == OTHER_LICENSE_ID) { license_comment_lbl.visible = v; @@ -613,19 +614,27 @@ setLocationContentVisible(true); setPropertiesContentVisible(false); //setTabIndex("LOCATION"); + if(wm.currentMode=="OPEN"){ + licenseID_cmb.enabled = true; + } _currentTab = LOCATION_TAB; + //removeProps(wm); }else if(tabToSelect == "PROPERTIES"){ setLocationContentVisible(false); setPropertiesContentVisible(true); + if(wm.currentMode=="OPEN"){ + licenseID_cmb.enabled = false; + } //setTabIndex("PROPERTIES"); _currentTab = PROP_TAB; } //set the right label on the 'doit' button if(wm.currentMode=="OPEN"){ ok_btn.label = Dictionary.getValue('ws_dlg_open_btn'); + //licenseID_cmb.enabled = false; }else if(wm.currentMode=="SAVE" || wm.currentMode=="SAVEAS"){ ok_btn.label = Dictionary.getValue('ws_dlg_save_btn'); }else if(wm.currentMode=="READONLY"){