Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@minotaur.apache.org Received: (qmail 40543 invoked from network); 24 Nov 2009 10:23:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Nov 2009 10:23:03 -0000 Received: (qmail 28043 invoked by uid 500); 24 Nov 2009 10:23:03 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 28027 invoked by uid 500); 24 Nov 2009 10:23:03 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 28017 invoked by uid 99); 24 Nov 2009 10:23:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2009 10:23:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2009 10:23:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BA5E8234C045 for ; Tue, 24 Nov 2009 02:22:39 -0800 (PST) Message-ID: <884870420.1259058159748.JavaMail.jira@brutus> Date: Tue, 24 Nov 2009 10:22:39 +0000 (UTC) From: "Florian Holeczek (JIRA)" To: jspwiki-dev@incubator.apache.org Subject: [jira] Updated: (JSPWIKI-612) There is a small bug in the ...\JSPWiki\templates\default\admin\UserManagement.jsp In-Reply-To: <429561163.1258631980114.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JSPWIKI-612?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Florian Holeczek updated JSPWIKI-612: ------------------------------------- Fix Version/s: 3.0 > There is a small bug in the ...\JSPWiki\templates\default\admin\UserManag= ement.jsp > -------------------------------------------------------------------------= --------- > > Key: JSPWIKI-612 > URL: https://issues.apache.org/jira/browse/JSPWIKI-612 > Project: JSPWiki > Issue Type: Bug > Components: Default template > Affects Versions: 2.8.3 > Environment: windows XP,IE6,IE7 > Reporter: =E9=AB=98=E6=B3=95=E6=AD=A3 > Fix For: 2.8.4, 3.0 > > > In the UserManagement.jsp page,there is a select box like that: > =20 > > and the is a javascript function, it want to get the value of the select = box. The function like that: > =09function refreshUserInfo() > =09{ > =09 var userid =3D $('userid').getValue(); > =09 > =09 if( userid =3D=3D '--New--' ) return; > =09 > =09 Wiki.jsonrpc("users.getUserInfo", [userid], function(userprofile){ > =09 $('loginname').value =3D userprofile.loginName; > =09 $('loginid').value =3D userprofile.loginName; > =09 $('fullname').value =3D userprofile.fullname; > =09 $('email').value =3D userprofile.email; > =09 $('lastmodified').setHTML(constructdate(userprofile.lastModified= )); > =09 $('creationdate').setHTML(constructdate(userprofile.created)); > =09 }); > =09} > In the option tag of the select box,there is not "value" attribute,so the= code "$('userid').getValue()" get a empty String, > then it will occur a js bug. > But in the firefox3.5,the bug will not happen. > Chage the select box like that: > =20 > the bug gone. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.