Javascript正在重定向到错误的网址

时间:2015-11-12 08:52:40

标签: javascript

function OpenModalReplyAllDialog(url, SubscriberId,ActualText) {
    //Todo: Cleanup the unnecessary code.
    var returnValue = new ModalReturnValue(null, null, null);
    var retVal = null;
    var urlredirect = url + '/UC_5_0_0.aspx?GroupId=' + SubscriberId + '&messageText=' + ActualText;
    returnValue = openToolbarModal(urlredirect, 342, 450, null, 'scroll:no;resizable:yes;status:no;center:yes');

    return true;
}

当我不选择菜单时,网址为:

 be/UC_5_0_0.aspx?GroupId=' + SubscriberId + '&messageText=' + ActualText

但是当我选择菜单时,它会变成:

 be/be/UC_5_0_0.aspx?GroupId=' + SubscriberId + '&messageText=' + ActualText

我希望始终重定向到

 be/UC_5_0_0.aspx?GroupId=' + SubscriberId + '&messageText=' + ActualText

0 个答案:

没有答案