Changes to logo uploading and deleting
This commit is contained in:
parent
4cef4f2cc8
commit
4921df1ba9
1 changed files with 2 additions and 2 deletions
|
|
@ -1577,7 +1577,7 @@ public class ConfigurationController extends GenericForwardComposer {
|
|||
.getCurrentWebApplicationContext()
|
||||
.getResource("/")
|
||||
.getFile()
|
||||
.getPath() + "\\" + media.getName());
|
||||
.getPath() + "/" + media.getName());
|
||||
|
||||
OutputStream outputStream = new FileOutputStream(fileToSave);
|
||||
out = new BufferedOutputStream(outputStream);
|
||||
|
|
@ -1628,9 +1628,9 @@ public class ConfigurationController extends GenericForwardComposer {
|
|||
if ( !"".equals(companyLogoURL.getValue()) ) {
|
||||
((org.zkoss.zul.Image) configurationWindow.getFellow(LOGO_PREVIEW_COMPONENT)).setSrc("");
|
||||
findAndRemoveLogoFromTarget(companyLogoURL.getValue());
|
||||
Util.logo = null;
|
||||
}
|
||||
|
||||
Util.logo = null;
|
||||
companyLogoURL.setValue("");
|
||||
configurationModel.setCompanyLogoURL("");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue