[Rt-commit] r9985 - rtir/branches/2.3-EXPERIMENTAL/etc
ruz at bestpractical.com
ruz at bestpractical.com
Mon Dec 17 21:16:25 EST 2007
Author: ruz
Date: Mon Dec 17 21:16:25 2007
New Revision: 9985
Modified:
rtir/branches/2.3-EXPERIMENTAL/etc/add_constituency
Log:
* add more info about operation
Modified: rtir/branches/2.3-EXPERIMENTAL/etc/add_constituency
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/etc/add_constituency (original)
+++ rtir/branches/2.3-EXPERIMENTAL/etc/add_constituency Mon Dec 17 21:16:25 2007
@@ -118,7 +118,11 @@
END
-exit 0 unless prompt_yN( "Do you want to proceed?" );
+if ( $exist ) {
+ exit 0 unless prompt_yN( "Do you want to proceed with update?" );
+} else {
+ exit 0 unless prompt_yN( "Do you want to proceed creating new incident?" );
+}
debug "Adding constituency $constituency";
add_cf_value( $constituency );
More information about the Rt-commit
mailing list