Changeset 18322

Show
Ignore:
Timestamp:
11/11/08 09:48:11 (2 months ago)
Author:
avinash
Message:

bug 445 and 460 and one other fix

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/core/web/jsp/business/BusinessPortfolio.jsp

    r18132 r18322  
    106106        { 
    107107        var m_url = JSPRootURL + "/business/BusinessPortfolioDelete.jsp?selected="+ getSelection(theForm) +"&module=<%= Module.BUSINESS_SPACE %>"+"&action=<%= net.project.security.Action.VIEW %>&portfolio=true"; 
    108         var link_win = openwin_linker(m_url); 
     108        var redirect_url = JSPRootURL +"/business/Main.jsp?id="+ getSelectedValueLocal()+"&page="+ escape(m_url); 
     109        var link_win = openwin_linker(redirect_url); 
    109110        link_win.focus(); 
    110111        } 
    111112} 
    112113 
     114function getSelectedValueLocal() { 
     115        var field = theForm.elements["selected"]; 
     116        if(!field) { 
     117                field = document.getElementById('channelIFrame').contentWindow.document.getElementById('iFrameForm').elements['selected']; 
     118                var idval = field.value; 
     119                for (var i = 0; i < field.length; i++) { 
     120                        if (field[i].checked == true) { 
     121                                idval = field[i].value; 
     122                                break; 
     123                        } 
     124                } 
     125                        return idval; 
     126        } else { 
     127                return getSelection(theForm); 
     128        } 
     129} 
     130         
    113131function help() 
    114132{ 
  • trunk/core/web/jsp/form/FormList.jsp

    r18306 r18322  
    320320                                                <div id="toolbox-item" class="toolbox-item"> 
    321321                                                          <span> 
    322                                  <a href="<%= SessionManager.getJSPRootURL() + "/form/CSVImport.jsp?module=" + net.project.base.Module.FORM + "&action=" + net.project.security.Action.VIEW + "&id=" + form.getID()%>'"><%= PropertyProvider.get("prm.global.form.list.import.label") %></a> 
     322                                 <a href="<%= SessionManager.getJSPRootURL() + "/form/CSVImport.jsp?module=" + net.project.base.Module.FORM + "&action=" + net.project.security.Action.VIEW + "&id=" + form.getID()%>"><%= PropertyProvider.get("prm.global.form.list.import.label") %></a> 
    323323                              </span> 
    324324                              <br/> 
  • trunk/core/web/jsp/roster/xsl/registered-space-invite.xsl

    r17326 r18322  
    2121Message: <xsl:value-of disable-output-escaping="yes" select="TeamMemberWizard/inviteeMessage"/><xsl:if test="TeamMemberWizard/inviteeMessage=''">(None)</xsl:if> 
    2222 
    23         <xsl:choose> 
    24                 <xsl:when test="TeamMemberWizard/IsAutoAcceptInvite='1'"> 
    25                 <!-- Automatic acceptance.  Display appropriate message --> 
    26 There is no need to accept this invitation.  This workspace will be listed on your Personal page the next time you login to Project.net.  To visit the workspace, click on the link below: 
     23This workspace will be listed on your Personal page the next time you login to Project.net.  To visit the workspace, click on the link below: 
    2724                <xsl:value-of select="url:formatAppURL(spaceUrl)"/>      
    28                 </xsl:when> 
    29                 <xsl:otherwise> 
    30                 <!-- User is required to accept.  Display appropriate message --> 
    31 To accept this invitation, please login to the Project.net application and see the "New Items" list on your Personal Workspace Dashboard page. 
    32                 </xsl:otherwise> 
    33         </xsl:choose> 
     25 
    3426 
    3527If you have questions about this workspace, please contact the sender of this email.  If you have questions about Project.net, or have technical difficulties with this invitation please see <xsl:value-of select="url:formatAppURL('/help/HelpDesk.jsp')"/>. 
  • trunk/core/web/jsp/toolbar/include/Main.jsp

    r18316 r18322  
    213213                        menuString += " <div class='menu-one-selected-resources'> "; 
    214214                <%}%>  
    215         menuString += "         <a href='<%=SessionManager.getJSPRootURL()%>/personal/Main.jsp?module=&<%=Module.PERSONAL_SPACE%>page=<%=SessionManager.getJSPRootURL()%>/resource/management/viewsummary?module=<%=Module.RESOURCES_SPACE%>' class='menu-projects'><%=PropertyProvider.get("prm.application.nav.space.resource")%></a> "; 
     215        menuString += "         <a href='<%=SessionManager.getJSPRootURL()%>/personal/Main.jsp?module=<%=Module.PERSONAL_SPACE%>&page=<%=SessionManager.getJSPRootURL()%>/resource/management/viewsummary?module=<%=Module.RESOURCES_SPACE%>' class='menu-projects'><%=PropertyProvider.get("prm.application.nav.space.resource")%></a> "; 
    216216                <% if (isResourceMenuSelected ) { %> 
    217217                        menuString += " </div> ";