From 7e78d60c90f88d5c03fae9343d865244aad5307f Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 11 Mar 2016 14:46:59 +0100 Subject: [PATCH] webbuild-cgi: fix for files upload and minor cosmetic changes to rebuild deps function --- webbuild/webbuild-cgi | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/webbuild/webbuild-cgi b/webbuild/webbuild-cgi index 48b38cc..c222f93 100755 --- a/webbuild/webbuild-cgi +++ b/webbuild/webbuild-cgi @@ -1503,10 +1503,10 @@ if [ "$MAINTAINERMODE" != "true" ]; then echo -n "
Upload source:" echo -n "
" echo -n "" - echo -n "" + echo -n "UPLOADFILENAME=\"+encodeURIComponent(getElementById('fileToUpload').value)); value=\"Upload\">" echo -n "
" echo -n "
" # info from package sources @@ -1988,7 +1988,7 @@ $PACKAGE.spec $RPMFORCEADD && $AUTOSPEC_CMD -u $PACKAGE -a10 --server $SENDREPOS # fi fi ;; - "repositorymassrebuilddependant") + "repositorymassrebuilddependent") if [ ! "$PACKAGES" ]; then echo "ERROR: no package(s) selected." RET=1 @@ -2280,8 +2280,8 @@ if [ "$MAINTAINERMODE" = "true" ]; then echo -n ",\"`cgi_encodevar "Rebuild "`\"+p+\"`cgi_encodevar " from $REPOSITORY and send to "`\"+getSelectedValueById('repositoryimportto')+" echo -n "\"`cgi_encodevar "?"`\"" echo -n "); class=redbutton>" - # mass rebuild of dependant packages - echo -n ""`\"+p+\"`cgi_encodevar " in $REPOSITORY and send to "`\"+getSelectedValueById('repositoryimportto')+" + echo -n "SENDREPOSITORY=$REPOSITORY&REQUEST=repositorymassrebuilddependent\"" + echo -n ",\"`cgi_encodevar "Rebuild package(s) which depend on "`\"+p+\"`cgi_encodevar " in $REPOSITORY and send to "`\"+getSelectedValueById('repositoryimportto')+" echo -n "\"`cgi_encodevar "?"`\"" echo -n "); class=redbutton>" # changelog for mass rebuild