Author: jfthomps
Date: Wed Apr 1 20:34:10 2015
New Revision: 1670766
URL: http://svn.apache.org/r1670766
Log:
VCL-849 - makeproduction state not processed correctly for cluster requests
requests.php: modified AJconfirmDeleteRequest: added to conditional that
determines if the user should be prompted to make a non-production revision
production to not show the prompt for cluster reservations
Modified:
vcl/trunk/web/.ht-inc/requests.php
Modified: vcl/trunk/web/.ht-inc/requests.php
URL:
http://svn.apache.org/viewvc/vcl/trunk/web/.ht-inc/requests.php?rev=1670766&r1=1670765&r2=1670766&view=diff
==============================================================================
--- vcl/trunk/web/.ht-inc/requests.php (original)
+++ vcl/trunk/web/.ht-inc/requests.php Wed Apr 1 20:34:10 2015
@@ -3789,7 +3789,7 @@ function AJconfirmDeleteRequest() {
prettyDatetime($request["start"]));
}
else {
- if($notbyowner == 0 && ! $reservation["production"]) {
+ if($notbyowner == 0 && ! $reservation["production"] &&
count($request['reservations']) == 1) {
AJconfirmDeleteRequestProduction($request);
return;
}