docs: private String exportTargetFolder() {
  
          String targetFolder = null;
          if (getRequest().getAttribute(I_CmsUploadConstants.ATTR_CURRENT_FOLDER) != null) {
              targetFolder = (String)getRequest().getAttribute(I_CmsUploadConstants.ATTR_CURRENT_FOLDER);
          }
          if (CmsStringUtil.isEmptyOrWhitespaceOnly(targetFolder)) {
              targetFolder = new Dialog(this).computeCurrentFolder();
          }
          StringBuffer sb = new StringBuffer();
          // var targetFolder = '/demo_t3/';
          sb.append(wrapScript("var ", I_CmsUploadConstants.VAR_TARGET_FOLDER, " = \'", targetFolder, "\';"));
          return sb.toString();
      }