webbuild-cgi: fix autodist checkbox not working if no permissions for maintainer mode
This commit is contained in:
parent
91c50976a9
commit
b24249e474
2
autodist
2
autodist
@ -5,7 +5,7 @@
|
||||
#
|
||||
# Released under the terms of the GNU GPL release 3 license
|
||||
#
|
||||
VERSION=1.5.0
|
||||
VERSION=1.5.1
|
||||
me=(${0##*/} $VERSION "Tue Jan 26 2016")
|
||||
exec 3>`readlink /proc/self/fd/0`
|
||||
|
||||
|
2
autoport
2
autoport
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Released under the terms of the GNU GPL release 3 license
|
||||
#
|
||||
VERSION=1.5.0
|
||||
VERSION=1.5.1
|
||||
|
||||
BASE_REPOSITORY=base
|
||||
PORT_REPOSITORY=base
|
||||
|
@ -679,7 +679,6 @@ echo -n "REQUEST=rpmmanager\");>"
|
||||
echo -n " <span>Autodist:<input type=checkbox id=\"advancedcontrols\" "
|
||||
echo -n "onclick=ajax_getvalues(\""
|
||||
echo -n "ENVIRONMENT=$ENVIRONMENT&REPOSITORY=$REPOSITORY&PACKAGE=$PACKAGEENCODED&"
|
||||
echo -n "MAINTAINERMODE=\"+getElementById('maintain').checked+\"&"
|
||||
echo -n "ADVANCEDCONTROLSSWITCH=\"+getElementById('advancedcontrols').checked); $CHECKED>"
|
||||
# privacy mode checkbox
|
||||
[ "$STATE_PRIVACYMODE" ] && CHECKED="checked=checked" || CHECKED=
|
||||
|
Loading…
Reference in New Issue
Block a user